0.1.1 • Published 6 years ago
@jordanforeman/babel-config v0.1.1
@jordanforeman/babel-config
Shared Babel configuration
Installation
$ npm i -D @jordanforeman/babel-config --save-exactUsage
- Create a
.babelrcfile at the root of your repository - Customize your newly created
.babelrcfile 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"
}