babel-preset-nw14
v0.0.1
Published
Babel preset for NW.js v0.14.7
Downloads
2
Readme
babel-preset-nw14
Babel preset for NW.js v0.14.7
npm install -D babel-preset-nw14
// based on babel-preset-es2015 v6.9.0
module.exports = {
plugins: [
// https://babeljs.io/docs/learn-es2015/
// http://es6-features.org/
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-template-literals"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-literals"),
require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-function-name"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-arrow-functions"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-block-scoped-functions"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-classes"),
require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-object-super"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-shorthand-properties"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-duplicate-keys"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-computed-properties"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-for-of"),
require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-sticky-regex"),
require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-unicode-regex"),
// require("babel-preset-es2015/node_modules/babel-plugin-check-es2015-constants"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-spread"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-parameters"),
require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-destructuring"),
require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-block-scoping"),
// require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-typeof-symbol"),
require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-modules-commonjs"),
// nw supports generators
// [require("babel-plugin-transform-regenerator"), { async: false, asyncGenerators: false }],
]
};