This repository was archived by the owner on Dec 1, 2019. It is now read-only.
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ npm install awesome-typescript-loader --save-dev
21
21
Some of them are quite big and I wanted to have full control on how my files are compiled. There are three major points:
22
22
23
23
1 ) awesome-typescript-loader (atl) uses dependency resolution to build modules dependency graph at early stages.
24
- This speeds up build process in some corner cases (minimizes module resoltions, mimizes ` createProgram ` calls),
24
+ This speeds up build process in some corner cases (minimizes module resolutions, minimizes ` createProgram ` calls),
25
25
but adds a lot of additional complexity. Also it can re-emit all related files which is also useful in some corner cases.
26
26
27
- 2 ) atl has first-class integration with Babel and enables caching possibilities. This can be useful for those who uses Typescript with Babel.
28
- When ` useBabel ` and ` useCache ` flags are enabled, typescript's emit will be transplied with Babel and cached.
27
+ 2 ) atl has first-class integration with Babel and enables caching possibilities. This can be useful for those who use Typescript with Babel.
28
+ When ` useBabel ` and ` useCache ` flags are enabled, typescript's emit will be transpiled with Babel and cached.
29
29
So next time if source file (+environment) has the same checksum we can totally skip typescript's and babel's transpiling.
30
30
This significantly reduces build time in this scenario.
31
31
You can’t perform that action at this time.
0 commit comments