Use predictable file names

This commit is contained in:
Rodolphe Bréard 2023-07-29 12:03:53 +02:00
parent 87b4d1a40a
commit 451dc8a3c4

View file

@ -12,5 +12,14 @@ export default defineConfig({
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
build: {
// https://rollupjs.org/configuration-options/
rollupOptions: {
output: {
entryFileNames: 'assets/[name].js',
assetFileNames: 'assets/sake.min[extname]',
}
}
}
})