diff options
author | crupest <crupest@outlook.com> | 2023-07-11 01:07:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 01:07:57 +0800 |
commit | a702dff4b62090a4e5453a8b9236824288df0c4f (patch) | |
tree | 0deae7f40692345c8e4b1473cdddbd13e0e5586d /FrontEnd/vite.config.js | |
parent | 4cb87464fea217e1d0969747d6a17e88973982e7 (diff) | |
parent | d46b1aed549938c9f5e3e658b4098e71b5e2acf7 (diff) | |
download | timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.tar.gz timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.tar.bz2 timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.zip |
Merge pull request #1381 from crupest/front-dev
Re-bootstrap front end.
Diffstat (limited to 'FrontEnd/vite.config.js')
-rw-r--r-- | FrontEnd/vite.config.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/FrontEnd/vite.config.js b/FrontEnd/vite.config.js deleted file mode 100644 index b8d15dbd..00000000 --- a/FrontEnd/vite.config.js +++ /dev/null @@ -1,33 +0,0 @@ -/**
- * @type {import('vite').UserConfig}
- */
-
-import { VitePWA } from "vite-plugin-pwa";
-import { defineConfig } from "vite";
-import react from "@vitejs/plugin-react";
-
-export default defineConfig({
- plugins: [
- react(),
- VitePWA({
- strategies: "injectManifest",
- srcDir: "src",
- filename: "sw.ts",
- manifest: false,
- includeAssets: "**",
- }),
- ],
- resolve: {
- alias: [{ find: "@", replacement: "/src" }],
- },
- server: {
- port: 10030,
- proxy: {
- "/api": {
- target: "http://localhost:5000",
- changeOrigin: true,
- ws: true,
- },
- },
- },
-});
|