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

Automagically determine rewrite paths #2

Open
novemberborn opened this issue Jan 26, 2020 · 1 comment
Open

Automagically determine rewrite paths #2

novemberborn opened this issue Jan 26, 2020 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@novemberborn
Copy link
Member

It should be possible to resolve the TypeScript configuration (including extended configurations) to determine what source directories are output where. That way, users won't have to configure the rewrite paths.

I'm not sure if TypeScript supports multiple configuration files within a project. Babel does, but AVA's Babel support ignores such configuration files. It'll be simplest to do the same here.

This means we'll assume the nearest TypeScript configuration file is in the project directory itself.

@novemberborn novemberborn added enhancement New feature or request help wanted Extra attention is needed labels Jan 26, 2020
@cinderblock
Copy link

While it does automatically crawl the entire tree to find a tsconfig.json file, it will stop at the first one it finds.

However, TypeScript configuration does support "extending" another config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants