s-panferov / awesome-typescript-loader

Awesome TypeScript loader for webpack
Other
2.35k stars 179 forks source link

Loader error doesn't surface to webpack.build #622

Open ccorcos opened 5 years ago

ccorcos commented 5 years ago
const compiler = webpack(config)
compiler.run(function(err, stats) {
  // no error when loader fails typecheck.
})
ccorcos commented 5 years ago

hmm. stats.hasErrors() is true though... Is that expected?