You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project with peer scoped packages, and was hoping to be able to avoid running a compile step in one, or order to do development on the other, but webpack is bombing out with this error:
ERROR in ./~/@my-scope/components/index.ts
Module build failed: Error
at new FatalError (C:\devel\repos\@my-scope\demo-site\node_modules\tslint\lib\error.js:40:23)
at Function.findConfiguration (C:\devel\repos\@my-scope\demo-site\node_modules\tslint\lib\configuration.js:47:15)
at resolveOptions (C:\devel\repos\@my-scope\demo-site\node_modules\tslint-loader\index.js:35:64)
at Object.module.exports (C:\devel\repos\@my-scope\demo-site\node_modules\tslint-loader\index.js:124:17)
@ ./src/app/app.module.ts 16:23-55
@ ./src/main.ts
@ multi app
excluding /node_modules/ in the loader makes the webpack build run fine, but I assume means I won't be linting that dependency anymore. I can lint it other times/ways, but it's nice to be able to npm link and work in both scoped packages using one dev-server.
using
"tslint": "^4.3.1",
"tslint-loader": "^3.3.0",
The text was updated successfully, but these errors were encountered:
Including only your application code, or excluding node_modules for this loader will fix/workaround the issue. This does look like a bug, but to be fair, linting 3rd party Typescript is a bad idea as those libraries are very likely to have different linting rules from your own project.
I have a project with peer scoped packages, and was hoping to be able to avoid running a compile step in one, or order to do development on the other, but webpack is bombing out with this error:
loader config:
excluding
/node_modules/
in the loader makes the webpack build run fine, but I assume means I won't be linting that dependency anymore. I can lint it other times/ways, but it's nice to be able tonpm link
and work in both scoped packages using one dev-server.using
The text was updated successfully, but these errors were encountered: