Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 725 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 725 Bytes

@smarterlabs/babel-preset

A Babel preset for JavaScript projects.

Installation

$ npm install --save @smarterlabs/babel-preset

Usage

In your .babelrc file:

{
  "presets": [
    "@smarterlabs/babel-preset"
  ]
}

Targeting Environments

Please refer to @babel/preset-env#targets for a list of available options.

For a list of browsers please see browserlist.

You may override our default list of targets by providing your own targets key.

{
  "presets": [["@smarterlabs/babel-preset", {
    "targets": {
      "chrome": 50,
      "ie": 11,
      "firefox": 45
    }
  }]]
}