Compare commits
No commits in common. "b9b2d40614b2e2dcaab51fe9b196b10e2e6fd723" and "4734a67f5a02d0d6896f7d1653189335632a1ade" have entirely different histories.
b9b2d40614
...
4734a67f5a
2 changed files with 2 additions and 5 deletions
|
@ -55,5 +55,5 @@
|
||||||
"workbox-core": "^7.1.0",
|
"workbox-core": "^7.1.0",
|
||||||
"workbox-precaching": "^7.1.0"
|
"workbox-precaching": "^7.1.0"
|
||||||
},
|
},
|
||||||
"packageManager": "bun@1.1.32"
|
"packageManager": "bun@1.1.21"
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,7 @@ export default defineConfig(({ mode }) => {
|
||||||
strategies: "injectManifest",
|
strategies: "injectManifest",
|
||||||
registerType: "autoUpdate",
|
registerType: "autoUpdate",
|
||||||
devOptions: {
|
devOptions: {
|
||||||
enabled: true,
|
enabled: !["production", "staging"].includes(mode),
|
||||||
},
|
},
|
||||||
srcDir: "src/serviceworker",
|
srcDir: "src/serviceworker",
|
||||||
filename: "main.ts",
|
filename: "main.ts",
|
||||||
|
@ -84,9 +84,6 @@ export default defineConfig(({ mode }) => {
|
||||||
pwaAssets: {
|
pwaAssets: {
|
||||||
config: true,
|
config: true,
|
||||||
},
|
},
|
||||||
injectManifest: {
|
|
||||||
globPatterns: ["**/*.{js,wasm,css,html,svg,png,ico}"],
|
|
||||||
},
|
|
||||||
}),
|
}),
|
||||||
version(),
|
version(),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue