Skip to content

Commit bb9f1e0

Browse files
committed
Prepare for 2.1.0 release
1 parent 70f0595 commit bb9f1e0

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v2.1.0
4+
5+
- [Add happypack compatibility mode](https://github.com/TypeStrong/ts-loader/pull/547) - thanks @aindlq!
6+
37
## v2.0.3
48

59
- [Don't include appended TS extension in webpack dependencies](https://github.com/TypeStrong/ts-loader/pull/497) - thanks again @wearymonkey!

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Take a look at our [examples](examples/). You can also find some older tutorial
1717

1818
#### TypeScript
1919

20-
ts-loader supports the latest and greatest version of TypeScript right back to v1.6. (Including the [nightly build](http://blogs.msdn.com/b/typescript/archive/2015/07/27/introducing-typescript-nightlies.aspx).)
20+
ts-loader supports the latest and greatest version of TypeScript right back to v1.6.
2121

2222
A full test suite runs each night (and on each pull request). It runs both on [Linux](https://travis-ci.org/TypeStrong/ts-loader) and [Windows](https://ci.appveyor.com/project/JohnReilly/ts-loader), testing ts-loader against each major release of TypeScript from the latest right back to 1.6. The test suite also runs against TypeScript@next (because we want to use it as much as you do).
2323

@@ -171,6 +171,10 @@ different dependencies in your application will be lost. You should also
171171
set the `isolatedModules` TypeScript option if you plan to ever make use
172172
of this.
173173

174+
##### happyPackMode *(boolean) (default=false)*
175+
176+
Enables [`happypack`](https://github.com/amireh/happypack) compatibility mode. This implicitly sets `*transpileOnly*` to `true`. **WARNING!** Some errors will be silently ignored in `happypack` mode (`tsconfig.json` parsing errors, dependency resolution errors, etc.).
177+
174178
##### logInfoToStdOut *(boolean) (default=false)*
175179

176180
This is important if you read from stdout or stderr and for proper error handling.
@@ -215,10 +219,6 @@ Advanced option to force files to go through different instances of the
215219
TypeScript compiler. Can be used to force segregation between different parts
216220
of your code.
217221

218-
##### happyPackMode *(boolean) (default=false)*
219-
220-
Enables [`happypack`](https://github.com/amireh/happypack) compatibility mode. This implicitly sets `*transpileOnly*` to `true`. **WARNING!** Some errors will be silently ignored in `happypack` mode (`tsconfig.json` parsing errors, dependency resolution errors, etc.).
221-
222222
#### entryFileIsJs *(boolean) (default=false)*
223223

224224
To be used in concert with the `allowJs` compiler option. If your entry file is JS then you'll need to set this option to true. Please note that this is rather unusual and will generally not be necessary when using `allowJs`.
@@ -289,16 +289,14 @@ See [this example](test/comparison-tests/codeSplitting) and [this example](test/
289289

290290
### Faster incremental builds
291291

292-
As your project becomes bigger and bigger, compilation time increases linearly. It's because typescript's semantic checker has to inspect
293-
all files on every rebuild.
292+
As your project becomes bigger and bigger, compilation time increases linearly. It's because typescript's semantic checker has to inspect all files on every rebuild.
294293

295294
The simple solution is to disable it by `transpileOnly: true` option but it leaves you without type checking.
296295

297296
If you don't want give up type checking, you can use [fork-ts-checker-webpack-plugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin).
298-
It runs checker on separate process, so your build is as fast as with `transpileOnly: true`. Also, it has several optimizations to make
299-
incremental type checking faster (AST cache, multiple workers).
297+
It runs checker on separate process, so your build is as fast as with `transpileOnly: true`. Also, it has several optimizations to make incremental type checking faster (AST cache, multiple workers).
300298
301-
If you'd like to see a simple setup take a look at [our example](examples/webpack2-fork-ts-checker/).
299+
If you'd like to see a simple setup take a look at [our simple example](examples/webpack2-fork-ts-checker/). For a more complex setup take a look at our [more involved example](examples\fork-ts-checker-react-babel-karma-gulp).
302300

303301
## License
304302

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-loader",
3-
"version": "2.0.3",
3+
"version": "2.1.0",
44
"description": "TypeScript loader for webpack",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)