Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

match-all rule leads to broken modules being resolved #74

Closed
Swatinem opened this issue Jan 30, 2019 · 1 comment
Closed

match-all rule leads to broken modules being resolved #74

Swatinem opened this issue Jan 30, 2019 · 1 comment

Comments

@Swatinem
Copy link
Contributor

Swatinem commented Jan 30, 2019

Copied from here: #73 (comment)

  1. fork-ts-checker-webpack-plugin does a require('tslint')
  2. tsconfig-paths’ match-all rule resolves this to <root>/tslint.json
  3. things blow up because obviously you wanted to require the tslint module, and not your tslint config file…

The linked PR exposes an option to fix this unexpected behavior.
Otherwise, it should maybe have special handling for node_modules maybe that avoids this bug?

@Swatinem
Copy link
Contributor Author

Swatinem commented Feb 6, 2019

Well this should be fixed now with 3.8.0

@Swatinem Swatinem closed this as completed Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant