Skip to content

Commit 6ea3462

Browse files
committed
Excluding all MUI deps from build
1 parent f7379b0 commit 6ea3462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashi/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default defineConfig({
4545
},
4646
rollupOptions: {
4747
// externalize deps that shouldn't be bundled into the library
48-
external: [...externalModules, ...externalFiles],
48+
external: [/^@emotion/, /^@mui/, ...externalModules, ...externalFiles],
4949
output: {
5050
// Provide global variables to use in the UMD build
5151
// for externalized deps

0 commit comments

Comments
 (0)