0.1.1 • Published 4 years ago
@jordanforeman/babel-config v0.1.1
@jordanforeman/babel-config
Shared Babel
configuration
Installation
$ npm i -D @jordanforeman/babel-config --save-exact
Usage
- Create a
.babelrc
file at the root of your repository - Customize your newly created
.babelrc
file to extend@jordanforeman/babel-config
(like so):
For Non-Browser NodeJS Applications
{
"extends": "./node_modules/@jordanforeman/babel-config/babel.config.node.js"
}
For Browser (ReactJS) Applications
{
"extends": "./node_modules/@jordanforeman/babel-config/babel.config.browser.js"
}