17 lines
393 B
TypeScript
17 lines
393 B
TypeScript
|
|
import { defineConfig } from 'vite'
|
||
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||
|
|
|
||
|
|
// https://vitejs.dev/config/
|
||
|
|
export default defineConfig({
|
||
|
|
base: './',
|
||
|
|
plugins: [svelte()],
|
||
|
|
build: {
|
||
|
|
rollupOptions: {
|
||
|
|
output: {
|
||
|
|
entryFileNames: `[name].[hash].js`,
|
||
|
|
chunkFileNames: `[name].[hash].js`,
|
||
|
|
assetFileNames: `[name].[hash].[ext]`
|
||
|
|
}
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|