0.1.1 • Published 4 years ago

@jordanforeman/babel-config v0.1.1

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

@jordanforeman/babel-config

Shared Babel configuration

Installation

$ npm i -D @jordanforeman/babel-config --save-exact

Usage

  1. Create a .babelrc file at the root of your repository
  2. 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"
}