Fix formatting issues in vite.config.ts

This commit is contained in:
Dede Fuji Abdul 2024-04-17 21:32:10 +07:00
parent ffc9ee780f
commit c0dfbc6b91

View File

@ -10,22 +10,22 @@ export default defineConfig({
vue({ vue({
template: { template: {
compilerOptions: { compilerOptions: {
isCustomElement: (tag) => ['lottie-player', 'center'].includes(tag), isCustomElement: (tag) => ['lottie-player', 'center'].includes(tag)
} }
} }
}), }),
vueJsx(), vueJsx()
], ],
resolve: { resolve: {
alias: { alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)), '@': fileURLToPath(new URL('./src', import.meta.url))
} }
},
build: {
// outDir: 'build',
emptyOutDir: true,
chunkSizeWarningLimit: 4096,
// cssCodeSplit: true,
// cssMinify: true,
} }
// build: {
// // outDir: 'build',
// // emptyOutDir: true,
// // chunkSizeWarningLimit: 4096,
// // cssCodeSplit: true,
// // cssMinify: true,
// }
}) })