Fix formatting issues in vite.config.ts
This commit is contained in:
parent
ffc9ee780f
commit
c0dfbc6b91
@ -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,
|
||||||
|
// }
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user