We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, with .babelrc you can use the env option to set specific options when in a certain environment:
.babelrc
env
{ "env": { "production": { "plugins": ["transform-react-constant-elements"] } }, "presets": ["es2015"] }
will use preset-es2015 for all envs and add transform-react-constant-elements just for prod.
transform-react-constant-elements
I'll work on this.
The text was updated successfully, but these errors were encountered:
May cause conflicts with #54.
Sorry, something went wrong.
@denysdovhan why? we just need to support .babelrc (.babelrc.js for Babel 7)
No branches or pull requests
Currently, with
.babelrc
you can use theenv
option to set specific options when in a certain environment:will use preset-es2015 for all envs and add
transform-react-constant-elements
just for prod.I'll work on this.
The text was updated successfully, but these errors were encountered: