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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ Options passed to the plugin constructor will overwrite options from the cosmico
147
147
|`eslint`|`object`|`undefined`| If `undefined`, it disables ESLint linter. If an `object`, see [ESLint options](#eslint-options). |
148
148
|`issue`|`object`|`{}`| See [Issues options](#issues-options). |
149
149
|`formatter`|`string` or `object`|`codeframe`| Available formatters are `basic` and `codeframe`. To [configure](https://babeljs.io/docs/en/babel-code-frame#options)`codeframe` formatter, pass object: `{ type: 'codeframe', options: { <coderame options> } }`. |
150
-
|`logger`|`object`|`{ infastructure: 'silent', issues: 'console' }`| Available loggers are `silent`, `console`, and `webpack-infrastructure`. Infrastructure logger prints additional information, issue logger prints `issues` in the `async` mode. |
150
+
|`logger`|`object`|`{ infrastructure: 'silent', issues: 'console' }`| Available loggers are `silent`, `console`, and `webpack-infrastructure`. Infrastructure logger prints additional information, issue logger prints `issues` in the `async` mode. |
151
151
152
152
### TypeScript options
153
153
@@ -162,7 +162,7 @@ Options for the TypeScript checker (`typescript` option object).
162
162
|`context`|`string`|`dirname(configuration.configFile)`| 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 `configFile`. |
163
163
|`build`|`boolean`|`false`| The equivalent of the `--build` flag for the `tsc` command. |
164
164
|`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`. |
165
-
|`diagnosticsOptions`|`object`|`{ syntactic: false, semantic: true, declaration: false, global: false }`| Settings to select which diagnostics do we want to perform. |
165
+
|`diagnosticOptions`|`object`|`{ syntactic: false, semantic: true, declaration: false, global: false }`| Settings to select which diagnostics do we want to perform. |
166
166
|`extensions`|`object`|`{}`| See [TypeScript extensions options](#typescript-extensions-options). |
167
167
|`profile`|`boolean`|`false`| Measures and prints timings related to the TypeScript performance. |
0 commit comments