Skip to content

Commit 188a9ee

Browse files
authored
Update README.md
1 parent 7859d86 commit 188a9ee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,11 @@ The build **should** fail on TypeScript compilation errors as of webpack 2. If f
156156

157157
For more background have a read of [this issue](https://github.com/TypeStrong/ts-loader/issues/108).
158158

159-
### Tsconfig paths resolution
159+
### `baseUrl` / `paths` module resolution
160160

161-
If you want to resolve modules according to `baseUrl` and `paths` in tsconfig.json (new feature of TS 2.0) then please install the [tsconfig-paths-webpack-plugin](https://www.npmjs.com/package/tsconfig-paths-webpack-plugin) package. This feature requires webpack 2.1 or later. Use the config below or check the [readme](https://github.com/dividab/tsconfig-paths-webpack-plugin/blob/master/README.md) for more information.
161+
If you want to resolve modules according to `baseUrl` and `paths` in your `tsconfig.json` then you can use the [tsconfig-paths-webpack-plugin](https://www.npmjs.com/package/tsconfig-paths-webpack-plugin) package. For details about this functionality, see the [module resolution documentation](https://www.typescriptlang.org/docs/handbook/module-resolution.html#base-url).
162+
163+
This feature requires webpack 2.1+ and TypeScript 2.0+. Use the config below or check the [package](https://github.com/dividab/tsconfig-paths-webpack-plugin/blob/master/README.md) for more information on usage.
162164

163165
```js
164166
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');

0 commit comments

Comments
 (0)