Skip to content

Commit 09b8965

Browse files
committed
Disable Typescript async and incremental settings (compile performance testing)
We're trying to solve hanging builds, see discussions here: * facebook#7003 (comment) * TypeStrong/fork-ts-checker-webpack-plugin#256
1 parent f6c9d2e commit 09b8965

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-scripts/config/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,8 @@ module.exports = function(webpackEnv) {
681681
typescript: resolve.sync('typescript', {
682682
basedir: paths.appNodeModules,
683683
}),
684-
async: isEnvDevelopment,
685-
useTypescriptIncrementalApi: true,
684+
async: false,
685+
useTypescriptIncrementalApi: false,
686686
checkSyntacticErrors: true,
687687
resolveModuleNameModule: process.versions.pnp
688688
? `${__dirname}/pnpTs.js`

packages/react-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@leadsimple/react-scripts",
3-
"version": "3.1.1-rc.1",
3+
"version": "3.1.1-rc.2",
44
"description": "Configuration and scripts for Create React App.",
55
"repository": "leadsimple/create-react-app",
66
"license": "MIT",

0 commit comments

Comments
 (0)