forked from Simnation/Main
19 lines
388 B
TypeScript
19 lines
388 B
TypeScript
![]() |
import { defineConfig } from 'vite';
|
||
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [svelte()],
|
||
|
base: './',
|
||
|
build: {
|
||
|
minify: true,
|
||
|
outDir: '../html',
|
||
|
rollupOptions: {
|
||
|
output: {
|
||
|
entryFileNames: '[name].js',
|
||
|
chunkFileNames: '[name].js',
|
||
|
assetFileNames: '[name].[ext]',
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
});
|