Skip to content

Commit

Permalink
fix: always cache bust index.html
Browse files Browse the repository at this point in the history
We can always reintroduce Vite PWA once we iron out the
rest of the things and our app is more ready to work offline
(by properly using stores, for example)

The status of workbox support is unclear, once it's clear we can
think about supporting it again: vite-pwa/vite-plugin-pwa#452
  • Loading branch information
ferferga committed Apr 10, 2023
1 parent d37a203 commit bbd3d6e
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 2,686 deletions.
1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"unplugin-vue-router": "0.5.4",
"vite": "4.2.1",
"vite-plugin-pages": "0.29.0",
"vite-plugin-pwa": "0.14.7",
"vite-plugin-vue-layouts": "0.8.0",
"vue-eslint-parser": "9.1.1",
"vue-i18n-extract": "2.0.7",
Expand Down
2 changes: 0 additions & 2 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
Vuetify3Resolver,
VueUseDirectiveResolver
} from 'unplugin-vue-components/resolvers';
import { VitePWA } from 'vite-plugin-pwa';
import visualizer from 'rollup-plugin-visualizer';
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
import autoprefixer from 'autoprefixer';
Expand Down Expand Up @@ -65,7 +64,6 @@ export default defineConfig(({ mode }): UserConfig => {
Icons({
compiler: 'vue3'
}),
VitePWA(),
VueI18nPlugin({
runtimeOnly: true,
compositionOnly: true,
Expand Down
Loading

0 comments on commit bbd3d6e

Please sign in to comment.