vite: reorganize output directory
This commit is contained in:
parent
f0e5aaded4
commit
e6d9be15de
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,13 @@ export default defineConfig({
|
||||||
outDir: '../static',
|
outDir: '../static',
|
||||||
assetsDir: 'packs',
|
assetsDir: 'packs',
|
||||||
assetsInlineLimit: 0,
|
assetsInlineLimit: 0,
|
||||||
|
rollupOptions: {
|
||||||
|
output: {
|
||||||
|
assetFileNames: 'packs/assets/[name]-[hash].[ext]',
|
||||||
|
chunkFileNames: 'packs/js/[name]-[hash].js',
|
||||||
|
entryFileNames: 'packs/[name]-[hash].js',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
port: 3036,
|
port: 3036,
|
||||||
|
|
Loading…
Reference in a new issue