vite.config.ts
This commit is contained in:
parent
059dd61e51
commit
bde10de12c
|
@ -127,9 +127,9 @@ export default defineConfig(({ command, mode }: ConfigEnv): UserConfig => {
|
||||||
assetsDir: 'static/assets',
|
assetsDir: 'static/assets',
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
chunkFileNames: 'static/js/[name]-[hash].js',
|
chunkFileNames: 'static/js/chunk-[hash].js',
|
||||||
entryFileNames: 'static/js/[name]-[hash].js',
|
entryFileNames: 'static/js/index.js',
|
||||||
assetFileNames: 'static/[ext]/[name]-[hash].[ext]'
|
assetFileNames: 'static/[ext]/[hash].[ext]'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user