Skip to content

Commit

Permalink
common js options: enable transform mixed es modules
Browse files Browse the repository at this point in the history
  • Loading branch information
xdeq committed Nov 12, 2023
1 parent a2bb6c2 commit 147124b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ export default defineConfig({
],
}),
],
optimizeDeps: {
include: ['property-expr']
},
server: {
port: 8080
},
Expand All @@ -31,5 +28,8 @@ export default defineConfig({
build: {
chunkSizeWarningLimit: 600,
cssCodeSplit: false,
commonjsOptions: {
transformMixedEsModules: true
}
}
});

0 comments on commit 147124b

Please sign in to comment.