package
Babel preset for all es2015 plugins.
npm install babel-preset-es2015GitHub-flavored package documentation.
Across all versions, last 30 days.
2,906,640 in 30 days
Runtime metadata.
Babel preset for all es2015 plugins.
npm install --save-dev babel-preset-es2015.babelrc (Recommended).babelrc
{
"presets": ["es2015"]
}babel script.js --presets es2015require("babel-core").transform("code", {
presets: ["es2015"]
});looseboolean, defaults to false.
Enable "loose" transformations for any plugins in this preset that allow them.
modules"amd" | "umd" | "systemjs" | "commonjs" | false, defaults to "commonjs".
Enable transformation of ES6 module syntax to another module type.
Setting this to false will not transform modules.
specboolean, defaults to false.
Enable "spec" transformations for any plugins in this preset that allow them.
Latest published Apr 7, 2017
next
Estimated unpacked size across 58 packages.
4.2 MB
Includes dependencies.
loganfsmyth
loganfsmyth@gmail.com
6.22.0
6.23.0
6.22.0
6.24.1
6.22.0
6.24.1
6.24.1
6.24.1
6.24.1
6.24.1
6.26.0
6.23.0
6.24.1
6.23.0
6.24.1
6.24.1
6.22.0
6.26.2
6.24.1
6.22.0
6.24.1
6.24.1
6.22.0