Skip to content

Commit

Permalink
[code-infra] Fix utils bundle size entrypoint (#43304)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Aug 15, 2024
1 parent eebde2e commit 87aad6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/sizeSnapshot/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async function getWebpackEntries() {
...coreComponents,
{
id: '@material-ui/utils',
path: 'packages/mui-utils/build/index.js',
path: 'packages/mui-utils/build/esm/index.js',
},
// TODO: Requires webpack v5
// Resolution of webpack/acorn to 7.x is blocked by nextjs (https://github.com/vercel/next.js/issues/11947)
Expand Down Expand Up @@ -195,7 +195,7 @@ function createWebpackConfig(entry, environment) {
'@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'),
'@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'),
Expand Down

0 comments on commit 87aad6d

Please sign in to comment.