Skip to content

Commit

Permalink
remove pwa from vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridel1e committed Sep 4, 2023
1 parent 791b370 commit ed2a857
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { lingui } from '@lingui/vite-plugin';
import { VitePWA } from 'vite-plugin-pwa'
import inject from '@rollup/plugin-inject';
import react from '@vitejs/plugin-react';
import * as fs from 'fs';
Expand Down Expand Up @@ -37,15 +36,15 @@ export default defineConfig({
topLevelAwait(),
svgr({ svgrOptions: { icon: true } }),
reactVirtualized(),
VitePWA({
registerType: 'autoUpdate',
devOptions: {
enabled: true
},
workbox: {
globPatterns: ['**/*.{js,css,html,ico,png,svg}']
}
})
// VitePWA({
// registerType: 'autoUpdate',
// devOptions: {
// enabled: true
// },
// workbox: {
// globPatterns: ['**/*.{js,css,html,ico,png,svg}']
// }
// })
],
resolve: {
alias: [
Expand Down

0 comments on commit ed2a857

Please sign in to comment.