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
{{ message }}
This repository was archived by the owner on Dec 1, 2019. It is now read-only.
Allows use of library other than the `target`'s default one. Useful when you want to use ES6 library with ES5 target. Also you might use `library=es6` with Node.
85
+
Allows the use of libraries other than the `target`'s default one. Useful when you want to use ES6 library with ES5 target. Additionally you might use `library=es6` with Node.
86
86
87
87
### instanceName *(string) (default='default')*
88
88
89
-
Allows to use several TypeScript compilers with different settings in one app. Just override`instanceName` to initialize another instance.
89
+
Allows the use of several TypeScript compilers with different settings in one app. Override`instanceName` to initialize another instance.
Collect files dependency graph and re-emit all dependent files along with changed file.
93
+
Collect file dependency graph and re-emit all dependent files along with the changed file.
94
94
95
95
### tsconfig *(string) (default='tsconfig.json')*
96
96
97
-
Specify path to a TS config file. Useful when you have multiple config files. This setting is useless *inside* TS config file.
97
+
Specifies the path to a TS config file. This is useful when you have multiple config files. This setting is useless *inside* a TS config file.
98
98
99
99
### useWebpackText *(boolean) (default=false)*
100
100
101
-
Use this setting to force loader to use webpack's way to load files. Useful only with ts-jsx-loader. Builds may become slower.
101
+
Use this setting to force the loader to use webpack's method of loading files. Useful only with ts-jsx-loader. Builds may become slower.
102
102
103
103
### externals *(array)*
104
104
105
105
Array of paths to .d.ts files that must be included in program. Useful with `rewriteImports`.
106
106
107
107
### doTypeCheck *(boolean) (default=true)*
108
108
109
-
Use this setting to disable type checking if you want.
109
+
Use this setting to disable type checking.
110
110
111
111
### forkChecker *(boolean) (default=false)*
112
112
113
-
Do type checking in a separate process, so webpack don't need to wait. **Significantly** improves development workflow with tools like [react-hot-loader](https://github.com/gaearon/react-hot-loader).
113
+
Do type checking in a separate process, so webpack doesn't need to wait. **Significantly** improves development workflow with tools like [react-hot-loader](https://github.com/gaearon/react-hot-loader).
114
114
115
115
Works only with `ForkCheckerPlugin`:
116
116
@@ -136,7 +136,7 @@ Use pre-compiled files if any. Files must be named as `{filename}.js` and `{file
136
136
137
137
### useCache *(boolean) (default=false)*
138
138
139
-
Use internal file cache. Useful with Babel, when processing takes a long time to complete. Improves warm-up time.
139
+
Use internal file cache. This is useful with Babel, when processing takes a long time to complete. Improves warm-up time.
@@ -152,7 +152,7 @@ You can pass compiler options inside loader query string or in tsconfig file.
152
152
153
153
## Using with --watch or webpack-dev-server
154
154
155
-
This loader has support of both `--watch` and `webpack-dev-server` modes. It handles file dependencies
155
+
This loader supports both `--watch` and `webpack-dev-server` modes. It handles file dependencies
156
156
using internal webpack dependency markers. When you change a file, the loader recompiles all the dependencies.
157
157
158
158
## External Modules
@@ -169,8 +169,7 @@ import * as React from 'react';
169
169
170
170
## Internal Modules
171
171
172
-
This project doesn't aim to support internal modules, because it's hard to resolve dependencies for the watch
173
-
mode if you use such modules. Of course, you can still use them without watch, but this function is **unstable**.
172
+
This project doesn't aim to support internal modules, because it's hard to resolve dependencies for the watch mode. Of course, you can still use them without watch, but this function is **unstable**.
0 commit comments