Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

babel-preset-es2015-without-strict

fancyboynet4.3kMIT0.0.4

Babel preset for all es2015 plugins without 'use strict' prepend

readme

babel-preset-es2015-without-strict

Babel preset for all es2015 plugins without 'use strict' prepend.

Install

$ npm install --save-dev babel-preset-es2015-without-strict

Usage

.babelrc

{
  "presets": ["es2015-without-strict"]
}

Via CLI

$ babel script.js --presets es2015-without-strict 

Via Node API

require("babel-core").transform("code", {
  presets: ["es2015-without-strict"]
});