Skip to content

Commit 91a2199

Browse files
committed
feat: use new useTypescriptIncrementalApi option in fork-ts-checker-webpack-plugin for faster compilation
1 parent 2959391 commit 91a2199

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

config/webpack.config.dev.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ module.exports = {
181181
tsconfig: paths.appTsConfig,
182182
tslint: paths.appTsLint,
183183
watch: [paths.appSrc],
184-
checkSyntacticErrors: true
184+
checkSyntacticErrors: true,
185+
async: true,
186+
useTypescriptIncrementalApi: true
185187
})
186188
],
187189
// Some libraries import Node modules but don't use them in the browser.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"dotenv": "^6.2.0",
4949
"dotenv-expand": "^4.2.0",
5050
"file-loader": "^2.0.0",
51-
"fork-ts-checker-webpack-plugin": "^0.5.2",
51+
"fork-ts-checker-webpack-plugin": "1.0.0-alpha.6",
5252
"fs-extra": "^7.0.1",
5353
"html-webpack-plugin": "^4.0.0-beta.5",
5454
"identity-obj-proxy": "^3.0.0",

0 commit comments

Comments
 (0)