Fix build not working

This commit is contained in:
Lim Chee Aun 2024-12-21 16:27:26 +08:00
parent 5a34daf8ba
commit e8f1710c27

View file

@ -157,7 +157,9 @@ export default defineConfig({
],
build: {
sourcemap: true,
cssCodeSplit: false,
// Note: In Vite 6, if cssCodeSplit = false, it will show error "Cannot read properties of undefined (reading 'includes')"
// TODO: Revisit this when this issue is fixed
// cssCodeSplit: false,
rollupOptions: {
treeshake: false,
input: {