Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

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

Open
ccorcos opened this issue Jan 9, 2019 · 1 comment
Open

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

ccorcos opened this issue Jan 9, 2019 · 1 comment

Comments

@ccorcos
Copy link

ccorcos commented Jan 9, 2019

const compiler = webpack(config)
compiler.run(function(err, stats) {
  // no error when loader fails typecheck.
})
@ccorcos
Copy link
Author

ccorcos commented Jan 9, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant