diff --git a/packages/material-ui/package.json b/packages/material-ui/package.json index b76312f861a3f2..8c3f22e9029a0d 100644 --- a/packages/material-ui/package.json +++ b/packages/material-ui/package.json @@ -35,7 +35,7 @@ "build:copy-files": "node ../../scripts/copy-files.js", "build:types": "tsc -p tsconfig.build.json", "extract-error-codes": "cross-env MUI_EXTRACT_ERROR_CODES=true yarn build:modern", - "prebuild": "rimraf build", + "prebuild": "rimraf build tsconfig.build.tsbuildinfo", "release": "yarn build && npm publish build --tag next", "test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/material-ui/**/*.test.{js,ts,tsx}'", "typescript": "tslint -p tsconfig.json \"{src,test}/**/*.{spec,d}.{ts,tsx}\" && tsc -p tsconfig.json && tsc -p tsconfig.build.json"