brad-jones / tsos

TypeScript on Steroids
MIT License
2 stars 0 forks source link

Replace FindFromNpmPackages with FindFromTsConfig #4

Closed brad-jones closed 7 years ago

brad-jones commented 7 years ago

The FindFromNpmPackages method in the AstVisitorFinder is too slow and too clever.

It is very likely that the order visitors are run in will have a big impact. So this means visitors can either be explicitly configured via a CLI option for single scripts or via extra config in a tsconfig file for projects.

The CLI option would override the config from tsconfig files. In fact if the CLI option was provided, tsos run would not even bother looking at the tsconfig file.

brad-jones commented 7 years ago

resolved with 438bdfc382319689c2de164a0c000e48b08f260e