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
|`async`|`boolean`|`compiler.options.mode === 'development'`| If `true`, reports issues **after** webpack's compilation is done. Thanks to that it doesn't block the compilation. Used only in the `watch` mode. |
91
-
|`typescript`|`object`or `boolean`|`true`| If a `boolean`, it enables/disables TypeScript checker. If an `object`, see[TypeScript options](#typescript-options). |
|`issue`|`object`|`{}`| See [Issues options](#issues-options). |
93
93
|`formatter`|`string` or `object` or `function`|`codeframe`| Available formatters are `basic`, `codeframe` and a custom `function`. To [configure](https://babeljs.io/docs/en/babel-code-frame#options)`codeframe` formatter, pass object: `{ type: 'codeframe', options: { <coderame options> } }`. |
94
-
|`logger`|`object`|`{ infrastructure: 'silent', issues: 'console', devServer: true }`| Available loggers are `silent`, `console`, and `webpack-infrastructure`. Infrastructure logger prints additional information, issue logger prints `issues` in the `async` mode. If `devServer` is set to `false`, errors will not be reported to Webpack Dev Server. |
94
+
|`logger`|`object`|`{ infrastructure: 'silent', issues: 'console', devServer: true }`| Available loggers are `silent`, `console`, and `webpack-infrastructure`. Infrastructure logger prints additional information, issue logger prints `issues` in the `async` mode. If `devServer` is set to `false`, errors will not be reported to Webpack Dev Server. |
95
95
96
96
### TypeScript options
97
97
98
98
Options for the TypeScript checker (`typescript` option object).
|`enabled`|`boolean`|`true`| If `true`, it enables TypeScript checker. |
103
102
|`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. |
104
103
|`configFile`|`string`|`'tsconfig.json'`| Path to the `tsconfig.json` file (path relative to the `compiler.options.context` or absolute path) |
105
104
|`configOverwrite`|`object`|`{ compilerOptions: { skipLibCheck: true, sourceMap: false, inlineSourceMap: false, declarationMap: false } }`| This configuration will overwrite configuration from the `tsconfig.json` file. Supported fields are: `extends`, `compilerOptions`, `include`, `exclude`, `files`, and `references`. |
"description": "Memory limit for TypeScript reporter process."
121
+
},
122
+
"configFile": {
123
+
"type": "string",
124
+
"description": "Path to tsconfig.json. By default plugin uses context or process.cwd() to localize tsconfig.json file."
125
+
},
126
+
"context": {
127
+
"type": "string",
128
+
"description": "The base path for finding files specified in the tsconfig.json. Same as context option from the ts-loader."
129
+
},
130
+
"build": {
106
131
"type": "boolean",
107
-
"description": "Enable TypeScript reporter."
132
+
"description": "The equivalent of the `--build` flag from the `tsc`."
108
133
},
109
-
{
134
+
"mode": {
135
+
"type": "string",
136
+
"enum": [
137
+
"readonly",
138
+
"write-tsbuildinfo",
139
+
"write-references"
140
+
],
141
+
"description": "`readonly` keeps all emitted files in memory, `write-tsbuildinfo` which writes only .tsbuildinfo files and `write-references` which writes both .tsbuildinfo and referenced projects output"
142
+
},
143
+
"compilerOptions": {
144
+
"type": "object",
145
+
"description": "Custom compilerOptions to be passed to the TypeScript compiler.",
146
+
"additionalProperties": true
147
+
},
148
+
"diagnosticOptions": {
110
149
"type": "object",
150
+
"description": "Types of diagnostics to be reported.",
111
151
"properties": {
112
-
"enabled": {
113
-
"type": "boolean",
114
-
"description": "Enable TypeScript reporter."
152
+
"syntactic": {
153
+
"type": "boolean"
115
154
},
116
-
"memoryLimit": {
117
-
"type": "number",
118
-
"description": "Memory limit for TypeScript reporter process."
155
+
"semantic": {
156
+
"type": "boolean"
119
157
},
120
-
"configFile": {
121
-
"type": "string",
122
-
"description": "Path to tsconfig.json. By default plugin uses context or process.cwd() to localize tsconfig.json file."
123
-
},
124
-
"context": {
125
-
"type": "string",
126
-
"description": "The base path for finding files specified in the tsconfig.json. Same as context option from the ts-loader."
158
+
"declaration": {
159
+
"type": "boolean"
127
160
},
128
-
"build": {
129
-
"type": "boolean",
130
-
"description": "The equivalent of the `--build` flag from the `tsc`."
"description": "`readonly` keeps all emitted files in memory, `write-tsbuildinfo` which writes only .tsbuildinfo files and `write-references` which writes both .tsbuildinfo and referenced projects output"
136
-
},
137
-
"compilerOptions": {
138
-
"type": "object",
139
-
"description": "Custom compilerOptions to be passed to the TypeScript compiler.",
140
-
"additionalProperties": true
141
-
},
142
-
"diagnosticOptions": {
143
-
"type": "object",
144
-
"description": "Types of diagnostics to be reported.",
0 commit comments