Skip to content

Commit

Permalink
[core] Add notes to help future blame (#3426)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Apr 21, 2024
1 parent c5f0159 commit 558e93f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ export default withDocsInfra({
workerThreads: true,
cpus: 3,
},
transpilePackages: ['@mui/monorepo', '@mui/x-charts', '@mui/docs'],
transpilePackages: [
'@mui/monorepo',
// TODO, those shouldn't be needed in the first place
'@mui/x-charts', // Fix ESM module support https://github.com/mui/mui-x/issues/9826#issuecomment-1658333978
'@mui/docs', // Fix trailingSlash support https://github.com/mui/mui-toolpad/pull/3301#issuecomment-2054213837
],
// Avoid conflicts with the other Next.js apps hosted under https://mui.com/
assetPrefix: process.env.DEPLOY_ENV === 'development' ? undefined : '/toolpad',
env: {
Expand Down

0 comments on commit 558e93f

Please sign in to comment.