diff --git a/packages/mui-material-nextjs/package.json b/packages/mui-material-nextjs/package.json index 375e28ab8ecdd0..692a75c77fbbd1 100644 --- a/packages/mui-material-nextjs/package.json +++ b/packages/mui-material-nextjs/package.json @@ -25,9 +25,9 @@ }, "scripts": { "build": "pnpm build:modern && pnpm build:node && pnpm build:stable && pnpm build:types && pnpm build:copy-files", - "build:modern": "node ../../scripts/build.mjs modern", - "build:node": "node ../../scripts/build.mjs node", - "build:stable": "node ../../scripts/build.mjs stable", + "build:modern": "node ../../scripts/build.mjs modern --exportFormat exports", + "build:node": "node ../../scripts/build.mjs node --exportFormat exports", + "build:stable": "node ../../scripts/build.mjs stable --exportFormat exports", "build:copy-files": "node ../../scripts/copyFiles.mjs", "build:types": "node ../../scripts/buildTypes.mjs", "prebuild": "rimraf build tsconfig.build.tsbuildinfo",