Skip to content

Commit a477294

Browse files
Remove rollup env from babel config
1 parent 1756fdf commit a477294

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

babel.config.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const productionPlugins = [
1313
];
1414

1515
module.exports = function getBabelConfig(api) {
16-
const useESModules = api.env(['regressions', 'modern', 'stable', 'rollup']);
16+
const useESModules = api.env(['regressions', 'modern', 'stable']);
1717

1818
const defaultAlias = {
1919
'@mui/material': resolveAliasPath('./packages/mui-material/src'),
@@ -142,16 +142,6 @@ module.exports = function getBabelConfig(api) {
142142
],
143143
],
144144
},
145-
rollup: {
146-
plugins: [
147-
[
148-
'babel-plugin-module-resolver',
149-
{
150-
alias: defaultAlias,
151-
},
152-
],
153-
],
154-
},
155145
test: {
156146
sourceMaps: 'both',
157147
plugins: [

0 commit comments

Comments
 (0)