Skip to content

Commit

Permalink
[code-infra] Remove unnecessary alias (#43320)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Aug 16, 2024
1 parent e10e111 commit 7f5f026
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions scripts/sizeSnapshot/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,21 +186,6 @@ function createWebpackConfig(entry, environment) {
reportFilename: `${entry.id}.html`,
}),
],
resolve: {
alias: {
'@mui/material': path.join(workspaceRoot, 'packages/mui-material/build'),
'@mui/lab': path.join(workspaceRoot, 'packages/mui-lab/build'),
'@mui/styled-engine': path.join(workspaceRoot, 'packages/mui-styled-engine/build'),
'@mui/styled-engine-sc': path.join(workspaceRoot, 'packages/mui-styles-sc/build'),
'@mui/styles': path.join(workspaceRoot, 'packages/mui-styles/build'),
'@mui/system': path.join(workspaceRoot, 'packages/mui-system/build'),
'@mui/private-theming': path.join(workspaceRoot, 'packages/mui-private-theming/build'),
'@mui/utils': path.join(workspaceRoot, 'packages/mui-utils/build/esm'),
'@mui/base': path.join(workspaceRoot, 'packages/mui-base/build'),
'@mui/material-nextjs': path.join(workspaceRoot, 'packages/mui-material-nextjs/build'),
'@mui/joy': path.join(workspaceRoot, 'packages/mui-joy/build'),
},
},
entry: { [entry.id]: path.join(workspaceRoot, entry.path) },
// TODO: 'browserslist:modern'
// See https://github.com/webpack/webpack/issues/14203
Expand Down

0 comments on commit 7f5f026

Please sign in to comment.