Fix build not working
This commit is contained in:
parent
5a34daf8ba
commit
e8f1710c27
1 changed files with 3 additions and 1 deletions
|
@ -157,7 +157,9 @@ export default defineConfig({
|
||||||
],
|
],
|
||||||
build: {
|
build: {
|
||||||
sourcemap: true,
|
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: {
|
rollupOptions: {
|
||||||
treeshake: false,
|
treeshake: false,
|
||||||
input: {
|
input: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue