diff --git a/babel.config.js b/babel.config.js index 6b373018b036be..dd9917d435f3a7 100644 --- a/babel.config.js +++ b/babel.config.js @@ -13,7 +13,7 @@ const productionPlugins = [ ]; module.exports = function getBabelConfig(api) { - const useESModules = api.env(['regressions', 'modern', 'stable', 'rollup']); + const useESModules = api.env(['regressions', 'modern', 'stable']); const defaultAlias = { '@mui/material': resolveAliasPath('./packages/mui-material/src'), @@ -142,16 +142,6 @@ module.exports = function getBabelConfig(api) { ], ], }, - rollup: { - plugins: [ - [ - 'babel-plugin-module-resolver', - { - alias: defaultAlias, - }, - ], - ], - }, test: { sourceMaps: 'both', plugins: [