@krakenjs/babel-config-grumbler

8.2.0 • Public • Published

@krakenjs/babel-config-grumbler

Installation

npm install -D @krakenjs/babel-config-grumbler

Usage

  1. Create a .babelrc file at the root of your package.

  2. Identify the type of babel config to use: node or browser.

3a. For node packages add the following contents to your .babelrc:

```json
{
    "extends": "@krakenjs/babel-config-grumbler/babelrc-node"
}
```

3b. For browser packages add the following contents to your .babelrc:

```json
{
    "extends": "@krakenjs/babel-config-grumbler/babelrc-browser"
}
```
  1. Ensure you have a browserlist configuration in your package.json

      "browserslist": [
        "IE >= 9",
        "chrome >= 27",
        "firefox >= 30",
        "safari >= 5",
        "opera >= 23"
    ],

Readme

Keywords

Package Sidebar

Install

npm i @krakenjs/babel-config-grumbler

Weekly Downloads

132

Version

8.2.0

License

none

Unpacked Size

9.74 kB

Total Files

7

Last publish

Collaborators

  • ravishekhar00
  • dustijones
  • gregjopa
  • sdk-integrations-npm
  • wsbrunson
  • mstuart
  • sioked