Skip to content

Commit

Permalink
Remove rollup env from babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed May 17, 2024
1 parent 1756fdf commit a477294
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down Expand Up @@ -142,16 +142,6 @@ module.exports = function getBabelConfig(api) {
],
],
},
rollup: {
plugins: [
[
'babel-plugin-module-resolver',
{
alias: defaultAlias,
},
],
],
},
test: {
sourceMaps: 'both',
plugins: [
Expand Down

0 comments on commit a477294

Please sign in to comment.