We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76c447d commit e822d17Copy full SHA for e822d17
client/packages/lowcoder/vite.config.mts
@@ -83,7 +83,7 @@ export const viteConfig: UserConfig = {
83
},
84
output: {
85
inlineDynamicImports: false,
86
- chunkFileNames: "[hash].js",
+ chunkFileNames: "[name]-[hash].js",
87
manualChunks: (id) => {
88
if (id.includes("node_modules")) {
89
// UI LIBRARIES
@@ -194,6 +194,7 @@ export const viteConfig: UserConfig = {
194
195
196
commonjsOptions: {
197
+ transformMixedEsModules : true,
198
defaultIsModuleExports: (id) => {
199
if (id.indexOf("antd/lib") !== -1) {
200
return false;
@@ -288,7 +289,7 @@ const browserCheckConfig: UserConfig = {
288
289
copyPublicDir: true,
290
emptyOutDir: true,
291
lib: {
- formats: ["iife"],
292
+ formats: ["es"],
293
name: "BrowserCheck",
294
entry: "./src/browser-check.ts",
295
fileName: () => {
0 commit comments