Skip to content

Commit c38600e

Browse files
authoredJul 5, 2023
fix: override rollupOptions.ouput.manualChunks from the user config (#58)
1 parent 1c694e8 commit c38600e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ function vitePreprocessor(
8282
formats: ['umd'],
8383
name: filenameWithoutExtension,
8484
},
85+
rollupOptions: {
86+
output: {
87+
manualChunks: undefined, // override any manualChunks from the user config because they don't work with UMD
88+
}
89+
}
8590
},
8691
}
8792

0 commit comments

Comments
 (0)
Please sign in to comment.