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
Aside from general performance improvements, I added a `profile` option to be able to measure timings and compare them with other tools, like tsc.
BREAKING CHANGE: 🧨 Changed default TypeScript compiler options to incremental: true and
the default mode to write-tsbuildinfo
|`enabled`|`boolean`|`true`| If `true`, it enables TypeScript checker. |
159
-
|`memoryLimit`|`number`|`2048`| Memory limit for the checker process in MB. If the process exits with the allocation failed error, try to increase this number. |
160
-
|`tsconfig`|`string`|`'tsconfig.json'`| Path to the `tsconfig.json` file (path relative to the `compiler.options.context` or absolute path) |
161
-
|`context`|`string`|`dirname(configuration.tsconfig)`| The base path for finding files specified in the `tsconfig.json`. Same as the `context` option from the [ts-loader](https://github.com/TypeStrong/ts-loader#context). Useful if you want to keep your `tsconfig.json` in an external package. Keep in mind that **not** having a `tsconfig.json` in your project root can cause different behaviour between `fork-ts-checker-webpack-plugin` and `tsc`. When using editors like `VS Code` it is advised to add a `tsconfig.json` file to the root of the project and extend the config file referenced in option `tsconfig`. |
162
-
|`build`|`boolean`|`false`| The equivalent of the `--build` flag for the `tsc` command. To enable `incremental` mode, set it in the `tsconfig.json` file. |
163
-
|`mode`|`'readonly'` or `'write-tsbuildinfo'` or `'write-references'`|`'readonly'`| If you use the `babel-loader`, it's recommended to use `write-references` mode to improve initial compilation time. If you use `ts-loader`, it's recommended to use `readonly` mode to not overwrite filed emitted by `ts-loader`. |
164
-
|`compilerOptions`|`object`|`{ skipLibCheck: true, skipDefaultLibCheck: true }`| These options will overwrite compiler options from the `tsconfig.json` file. |
165
-
|`diagnosticsOptions`|`object`|`{ syntactic: false, semantic: true, declaration: false, global: false }`| Settings to select which diagnostics do we want to perform. |
166
-
|`extensions`|`object`|`{}`| See [TypeScript extensions options](#typescript-extensions-options). |
|`enabled`|`boolean`|`true`| If `true`, it enables TypeScript checker. |
159
+
|`memoryLimit`|`number`|`2048`| Memory limit for the checker process in MB. If the process exits with the allocation failed error, try to increase this number. |
160
+
|`tsconfig`|`string`|`'tsconfig.json'`| Path to the `tsconfig.json` file (path relative to the `compiler.options.context` or absolute path) |
161
+
|`context`|`string`|`dirname(configuration.tsconfig)`| The base path for finding files specified in the `tsconfig.json`. Same as the `context` option from the [ts-loader](https://github.com/TypeStrong/ts-loader#context). Useful if you want to keep your `tsconfig.json` in an external package. Keep in mind that **not** having a `tsconfig.json` in your project root can cause different behaviour between `fork-ts-checker-webpack-plugin` and `tsc`. When using editors like `VS Code` it is advised to add a `tsconfig.json` file to the root of the project and extend the config file referenced in option `tsconfig`. |
162
+
|`build`|`boolean`|`false`| The equivalent of the `--build` flag for the `tsc` command. To enable `incremental` mode, set it in the `tsconfig.json` file. |
163
+
|`mode`|`'readonly'` or `'write-tsbuildinfo'` or `'write-references'`|`'write-tsbuildinfo'`| If you use the `babel-loader`, it's recommended to use `write-references` mode to improve initial compilation time. If you use `ts-loader`, it's recommended to use `write-tsbuildinfo` mode to not overwrite filed emitted by the `ts-loader`. |
164
+
|`compilerOptions`|`object`|`{ skipLibCheck: true, sourceMap: false, inlineSourceMap: false, incremental: true }`| These options will overwrite compiler options from the `tsconfig.json` file. |
165
+
|`diagnosticsOptions`|`object`|`{ syntactic: false, semantic: true, declaration: false, global: false }`| Settings to select which diagnostics do we want to perform. |
166
+
|`extensions`|`object`|`{}`| See [TypeScript extensions options](#typescript-extensions-options). |
167
+
|`profile`|`boolean`|`false`| Measures and prints timings related to the TypeScript performance. |
0 commit comments