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
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,9 @@ Options passed to formatters (currently only `codeframe` - see [available option
92
92
***silent**`boolean`:
93
93
If `true`, logger will not be used. Default: `false`.
94
94
95
+
***checkSyntacticErrors**`boolean`:
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
+
95
98
***memoryLimit**`number`:
96
99
Memory limit for service process in MB. If service exits with allocation failed error, increase this number. Default: `2048`.
0 commit comments