禁用Workbox
This commit is contained in:
@@ -33,7 +33,12 @@ export default defineConfig(({mode}) => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
workbox: {
|
workbox: {
|
||||||
navigateFallbackDenylist: [/^\/api\/init/]
|
navigateFallbackDenylist: [/^\/api\/init/],
|
||||||
|
disableDevLogs: true,
|
||||||
|
globPatterns: [],
|
||||||
|
runtimeCaching: [],
|
||||||
|
navigateFallback: null,
|
||||||
|
cleanupOutdatedCaches: true,
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
AutoImport({
|
AutoImport({
|
||||||
|
|||||||
Reference in New Issue
Block a user