Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Restrict the use of passPerPreset #6921
Feature change request
Babel/Babylon Configuration (.babelrc, package.json, cli command)
The use of
The majority of current usages of
Correspondingly, there may not be any real use cases for
Even in cases where it does arise, it's not the correct scope – the scope instead looks more like "this preset or this plugin should have its own pass", rather than "every preset or plugin in this config (or every plugin in this preset) should have its own pass".
Hey @taion! We really appreciate you taking the time to report an issue. The collaborators
You can also see that substantially all those cases are GraphQL-related cases, owing ultimately to that initial Relay thing.
I think @loganfsmyth mentioned that babel-minify still needed it? Ultimately I think
Even for minify, one goal would be to run the entire minify preset after all the earlier presets, no? I feel like there are a couple of different concepts here that are a little bit mixed up: