babel-preset-es2015-without-strict

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-preset-es2015-without-strict
2210.0.48 years ago8 years agoMinified + gzip package size for babel-preset-es2015-without-strict in KB

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

Via .babelrc (Recommended)

.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"]
});