Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
a2180f17
Commit
a2180f17
authored
Sep 26, 2022
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: remove `vite-plugin-pwa`
parent
b992d07f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1604 deletions
+22
-1604
package.json
web/package.json
+1
-3
vite.config.ts
web/vite.config.ts
+1
-2
yarn.lock
web/yarn.lock
+20
-1599
No files found.
web/package.json
View file @
a2180f17
{
{
"name"
:
"memos"
,
"name"
:
"memos"
,
"version"
:
"0.4.5"
,
"scripts"
:
{
"scripts"
:
{
"dev"
:
"vite"
,
"dev"
:
"vite"
,
"build"
:
"tsc && vite build"
,
"build"
:
"tsc && vite build"
,
...
@@ -21,8 +20,7 @@
...
@@ -21,8 +20,7 @@
"react-feather"
:
"^2.0.10"
,
"react-feather"
:
"^2.0.10"
,
"react-i18next"
:
"^11.18.6"
,
"react-i18next"
:
"^11.18.6"
,
"react-redux"
:
"^8.0.1"
,
"react-redux"
:
"^8.0.1"
,
"react-router-dom"
:
"^6.4.0"
,
"react-router-dom"
:
"^6.4.0"
"vite-plugin-pwa"
:
"^0.12.8"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@types/lodash-es"
:
"^4.17.5"
,
"@types/lodash-es"
:
"^4.17.5"
,
...
...
web/vite.config.ts
View file @
a2180f17
import
{
defineConfig
}
from
"vite"
;
import
{
defineConfig
}
from
"vite"
;
import
react
from
"@vitejs/plugin-react"
;
import
react
from
"@vitejs/plugin-react"
;
import
{
VitePWA
}
from
"vite-plugin-pwa"
;
// https://vitejs.dev/config/
// https://vitejs.dev/config/
export
default
defineConfig
({
export
default
defineConfig
({
plugins
:
[
react
()
,
VitePWA
()
],
plugins
:
[
react
()],
server
:
{
server
:
{
host
:
"0.0.0.0"
,
host
:
"0.0.0.0"
,
port
:
3000
,
port
:
3000
,
...
...
web/yarn.lock
View file @
a2180f17
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment