From a477294e486638bbee33e8cc120ee7189e27e807 Mon Sep 17 00:00:00 2001 From: ZeeshanTamboli Date: Fri, 17 May 2024 15:39:07 +0530 Subject: [PATCH] Remove rollup env from babel config --- babel.config.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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: [