From 147124b7ed694a8289c6987359b05eccf9c90081 Mon Sep 17 00:00:00 2001 From: xdeq Date: Sun, 12 Nov 2023 20:20:55 +0300 Subject: [PATCH] common js options: enable transform mixed es modules --- vite.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vite.config.js b/vite.config.js index 6949ad51..5f2c2645 100644 --- a/vite.config.js +++ b/vite.config.js @@ -14,9 +14,6 @@ export default defineConfig({ ], }), ], - optimizeDeps: { - include: ['property-expr'] - }, server: { port: 8080 }, @@ -31,5 +28,8 @@ export default defineConfig({ build: { chunkSizeWarningLimit: 600, cssCodeSplit: false, + commonjsOptions: { + transformMixedEsModules: true + } } });