From cc74dfe1e3f7395c381df9e0253128cbff1cc880 Mon Sep 17 00:00:00 2001 From: Nick Excell Date: Sun, 30 Aug 2020 08:26:20 +0100 Subject: [PATCH 1/2] Update docs to show transpileOnly does not affect project references --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75a762dc0..4ab63573a 100644 --- a/README.md +++ b/README.md @@ -290,7 +290,7 @@ module.exports = { If you want to speed up compilation significantly you can set this flag. However, many of the benefits you get from static type checking between -different dependencies in your application will be lost. +different dependencies in your application will be lost. transpileOnly will not speed up compilation of project references. It's advisable to use `transpileOnly` alongside the [fork-ts-checker-webpack-plugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin) to get full type checking again. To see what this looks like in practice then either take a look at [our simple example](examples/fork-ts-checker-webpack-plugin). For a more complex setup take a look at our [more involved example](examples/react-babel-karma-gulp). From 759887392227f465520ad0cabcb6b7beb63495fe Mon Sep 17 00:00:00 2001 From: John Reilly Date: Sun, 30 Aug 2020 10:04:38 +0100 Subject: [PATCH 2/2] tweaks to formatting --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ab63573a..132bf603c 100644 --- a/README.md +++ b/README.md @@ -289,8 +289,7 @@ module.exports = { | `boolean` | `false`| If you want to speed up compilation significantly you can set this flag. -However, many of the benefits you get from static type checking between -different dependencies in your application will be lost. transpileOnly will not speed up compilation of project references. +However, many of the benefits you get from static type checking between different dependencies in your application will be lost. `transpileOnly` will *not* speed up compilation of project references. It's advisable to use `transpileOnly` alongside the [fork-ts-checker-webpack-plugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin) to get full type checking again. To see what this looks like in practice then either take a look at [our simple example](examples/fork-ts-checker-webpack-plugin). For a more complex setup take a look at our [more involved example](examples/react-babel-karma-gulp).