diff options
author | crupest <crupest@outlook.com> | 2022-10-23 23:53:15 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-10-23 23:53:15 +0800 |
commit | 83f4fc8ab07a7f4cd3bba8042d600d7a4543bcaf (patch) | |
tree | 24a034a5fb23b71c51ea135efaa23ff24f7016a5 /FrontEnd/vite.config.js | |
parent | 4a12e66fcba50cd566a4ab8c072a50ed0751dc0b (diff) | |
download | timeline-83f4fc8ab07a7f4cd3bba8042d600d7a4543bcaf.tar.gz timeline-83f4fc8ab07a7f4cd3bba8042d600d7a4543bcaf.tar.bz2 timeline-83f4fc8ab07a7f4cd3bba8042d600d7a4543bcaf.zip |
It's been a long time not developing this. Still need some time to get
it work again.
Diffstat (limited to 'FrontEnd/vite.config.js')
-rw-r--r-- | FrontEnd/vite.config.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/FrontEnd/vite.config.js b/FrontEnd/vite.config.js index 64e0457f..b8d15dbd 100644 --- a/FrontEnd/vite.config.js +++ b/FrontEnd/vite.config.js @@ -2,18 +2,17 @@ * @type {import('vite').UserConfig}
*/
-import reactRefresh from "@vitejs/plugin-react-refresh";
import { VitePWA } from "vite-plugin-pwa";
import { defineConfig } from "vite";
+import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [
- reactRefresh(),
+ react(),
VitePWA({
strategies: "injectManifest",
srcDir: "src",
filename: "sw.ts",
- base: "/",
manifest: false,
includeAssets: "**",
}),
|