Skip to content

Commit

Permalink
chore: path
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx committed Nov 13, 2023
1 parent 14f1078 commit 31f9598
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
import { defineConfig, splitVendorChunkPlugin } from 'vite';
import { VitePWA } from 'vite-plugin-pwa';
// import { VitePWA } from 'vite-plugin-pwa';
import react from '@vitejs/plugin-react-swc';
import tsconfigPaths from 'vite-tsconfig-paths';

// https://vitejs.dev/config/
export default defineConfig({
base: '/gpthub',
plugins: [
tsconfigPaths(),
react(),
splitVendorChunkPlugin(),
VitePWA({
registerType: 'autoUpdate',
// devOptions: {
// enabled: true,
// },
}),
// VitePWA({
// registerType: 'autoUpdate',
// // devOptions: {
// // enabled: true,
// // },
// }),
],
})

0 comments on commit 31f9598

Please sign in to comment.