You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ Options passed to formatters (currently only `codeframe` - see [available option
93
93
If `true`, logger will not be used. Default: `false`.
94
94
95
95
***checkSyntacticErrors**`boolean`:
96
-
If you're using the plugin with [HappyPack](https://github.com/amireh/happypack) or [thread-loader](https://github.com/webpack-contrib/thread-loader)then syntactic errors cannot be raised by ts-loader. In this case you would want the plugin to report syntactic errors as well. Default: `false`.
96
+
This option is useful if you're using ts-loader in `happyPackMode`with [HappyPack](https://github.com/amireh/happypack) or [thread-loader](https://github.com/webpack-contrib/thread-loader)to parallelise your builds. It will ensure that the plugin checks for both syntactic errors (eg `const array = [{} {}];`) and semantic errors (eg `const x: number = '1';`). By default the plugin only checks for semantic errors. This is because when ts-loader is used in `transpileOnly` mode, ts-loader will still report syntactic errors. When used in `happyPackMode` it does not. Default: `false`.
97
97
98
98
***memoryLimit**`number`:
99
99
Memory limit for service process in MB. If service exits with allocation failed error, increase this number. Default: `2048`.
0 commit comments