Use predictable file names
This commit is contained in:
parent
87b4d1a40a
commit
451dc8a3c4
1 changed files with 17 additions and 8 deletions
|
@ -12,5 +12,14 @@ export default defineConfig({
|
||||||
alias: {
|
alias: {
|
||||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
build: {
|
||||||
|
// https://rollupjs.org/configuration-options/
|
||||||
|
rollupOptions: {
|
||||||
|
output: {
|
||||||
|
entryFileNames: 'assets/[name].js',
|
||||||
|
assetFileNames: 'assets/sake.min[extname]',
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue