mirror of
https://github.com/woodchen-ink/nezha-dash-v1.git
synced 2025-07-18 17:41:56 +08:00
fix: dev cache
This commit is contained in:
parent
05bb295349
commit
a448e5eb0d
@ -37,10 +37,17 @@ export default defineConfig({
|
|||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
headers: {
|
||||||
|
"Cache-Control": "no-store",
|
||||||
|
Pragma: "no-cache",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
|
entryFileNames: `assets/[name].[hash].js`,
|
||||||
|
chunkFileNames: `assets/[name].[hash].js`,
|
||||||
|
assetFileNames: `assets/[name].[hash].[ext]`,
|
||||||
manualChunks(id) {
|
manualChunks(id) {
|
||||||
if (id.includes("node_modules")) {
|
if (id.includes("node_modules")) {
|
||||||
return id
|
return id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user