better build setup and fixed errors

This commit is contained in:
Luca 2024-04-19 10:18:13 +02:00
parent a4369d5f1f
commit b2ef81e817
7 changed files with 37 additions and 17 deletions

13
vite.config.js Normal file
View file

@ -0,0 +1,13 @@
import { defineConfig } from 'vite'
export default defineConfig({
build: {
cssMinify: 'esbuild',
outDir: "build",
rollupOptions: {
output: {
assetFileNames: "reset[extname]"
}
}
},
})