Feature Request : Package.json Babel RC support (instead of .babelrc)
See original GitHub issueParcel is awesome.
I would love if I could just use the package.json
to specify my .babelrc
settings. Currently, that doesn’t seem to be supported, and I’m forced to include an additional .babelrc
file. I hate those little files. Any chance this could be an option like in webpack?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Configure Babel
Create a file called .babelrc.json with the following content in your project. ... .babelrc.json config from within package.json using the babel key like...
Read more >Allow babelrc: false and/or babel.config.js · Issue #2110 - GitHub
feature request Hey, Since Babel 7, it is common to use a babel.config.js file, or the babelrc: false option. Why?
Read more >When to use babel.config.js and .babelrc - Stack Overflow
config.json is useful if you have multiple packages (ie multiple package.json) directories in your project that utilize a single babel config.
Read more >babel-loader - npm
babelrc file if it exists, and the value of the environment variable BABEL_ENV with a fallback to the NODE_ENV environment variable. This can...
Read more >Tooling - styled-components
⚠️ The plugin call order in your .babelrc file matters. If you're using the env property in your babel configuration, then putting this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A babel rc file ATM.
Yeah, I would really like this added back, package Json is an acceptable place for babel settings almost everywhere else in the ecosystem. Parcel should accommodate.
Sent from my iPhone
See #927 for an example of babel config in package.json not working