dojo / cli-build-webpack

🚀 **DEPRECATED** Dojo 2 - cli command for building applications
http://dojo.io
Other
4 stars 19 forks source link

Prevent build from failing for TS errors in files outside of webpack bundles #227

Closed maier49 closed 6 years ago

maier49 commented 6 years ago

Enhancement

Currently TS compilation errors in any file in the paths configured in tsconfig will fail the build, even if they are not included in the bundles. This manifests itself as annoying and sometimes unintuitive failures when test files fail to compile, or when m.css files are depended on by files that aren't included in the build.

ts-loader now supports transformers which may provide an avenue for resolving this.