chore: remove vite-plugin-pwa

This commit is contained in:
Steven 2022-09-26 21:40:37 +08:00
parent b992d07f3e
commit a2180f177f
3 changed files with 22 additions and 1604 deletions

View file

@ -1,6 +1,5 @@
{
"name": "memos",
"version": "0.4.5",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
@ -21,8 +20,7 @@
"react-feather": "^2.0.10",
"react-i18next": "^11.18.6",
"react-redux": "^8.0.1",
"react-router-dom": "^6.4.0",
"vite-plugin-pwa": "^0.12.8"
"react-router-dom": "^6.4.0"
},
"devDependencies": {
"@types/lodash-es": "^4.17.5",

View file

@ -1,10 +1,9 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { VitePWA } from "vite-plugin-pwa";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), VitePWA()],
plugins: [react()],
server: {
host: "0.0.0.0",
port: 3000,

File diff suppressed because it is too large Load diff