File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export const viteConfig: UserConfig = {
83
83
} ,
84
84
output : {
85
85
inlineDynamicImports : false ,
86
- chunkFileNames : "[hash].js" ,
86
+ chunkFileNames : "[name]-[ hash].js" ,
87
87
manualChunks : ( id ) => {
88
88
if ( id . includes ( "node_modules" ) ) {
89
89
// UI LIBRARIES
@@ -194,6 +194,7 @@ export const viteConfig: UserConfig = {
194
194
} ,
195
195
} ,
196
196
commonjsOptions : {
197
+ transformMixedEsModules : true ,
197
198
defaultIsModuleExports : ( id ) => {
198
199
if ( id . indexOf ( "antd/lib" ) !== - 1 ) {
199
200
return false ;
@@ -288,7 +289,7 @@ const browserCheckConfig: UserConfig = {
288
289
copyPublicDir : true ,
289
290
emptyOutDir : true ,
290
291
lib : {
291
- formats : [ "iife " ] ,
292
+ formats : [ "es " ] ,
292
293
name : "BrowserCheck" ,
293
294
entry : "./src/browser-check.ts" ,
294
295
fileName : ( ) => {
You can’t perform that action at this time.
0 commit comments