Skip to content

Commit

Permalink
Document fork-ts-checker-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Sep 19, 2017
1 parent 9bf677c commit d011318
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Expand Up @@ -84,12 +84,4 @@ module.exports = function(webpackConfig) {

> 为什么 TypeScript 错误不会显示?
`webpack.config.js` 中配置:

```javascript
module.exports = function(webpack) {
webpack.ts.transpileOnly = false;
}
```

关闭这个选项后如果项目较大,构建速度会变慢,可以在开发环境打开,发布的时候再关闭。
自行添加 [fork-ts-checker-webpack-plugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin)

0 comments on commit d011318

Please sign in to comment.