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

Recommend using a Webpack- rather than a TS-Lint Plugin if using Webpack #37

Open
hediet opened this issue Jul 1, 2019 · 2 comments
Open

Comments

@hediet
Copy link

hediet commented Jul 1, 2019

This plugin was exactly what I was looking for, thanks for writing it!

However, it has some pain points:

  • It treats type imports the same as non-type imports (which is a deal breaker)
  • It is very slow and consumes a lot of memory (I got an out of heap exception)
  • It makes live (<5s) ts-lint feedback impossible

If using webpack, I can recommend using circular-dependency-plugin instead.
As it operates on the transpiled modules, it does not consider circular type imports.
It is also way faster.

@biolauri
Copy link

For Angular projects, this is already built-in (see angular/angular-cli#6739).

@biolauri
Copy link

By the way: The out of heap exception error is covered in #33 and might be fixed in #32.

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

2 participants