Skip to content

Add flag for transpiling all #1527

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

Closed
wmertens opened this issue Sep 20, 2017 · 1 comment
Closed

Add flag for transpiling all #1527

wmertens opened this issue Sep 20, 2017 · 1 comment

Comments

@wmertens
Copy link

Description

I know that the configuration at https://github.com/avajs/ava/blob/master/docs/recipes/babelrc.md#transpiling-tests-and-sources-the-same-way can transpile all source files, but I believe AVA should have a flag that does this.

The reason is that in big projects, globbing the helper files takes a very long time (e.g. #1228), and when transpiling everything, there is no point in globbing. Since it's hard to look at the require config and determine if we're transpiling everything, it would be better to have a flag.

So the request is: add a transpileAll: true flag that has the same effect as the config linked above, but also disables the helper globs.

@novemberborn
Copy link
Member

There is a longer term goal to enable AVA to transpile source files. Nearer term though I'm planning on fixing the helper globbing.

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