|
|
@@ -1,16 +1,27 @@
|
|
|
{
|
|
|
- "presets": [
|
|
|
- ["env", {
|
|
|
- "targets": {
|
|
|
- "browsers": ["Chrome >= 41"]
|
|
|
- },
|
|
|
- "modules": false,
|
|
|
- // "useBuiltIns": true,
|
|
|
- // "debug": true,
|
|
|
- }]
|
|
|
- ],
|
|
|
"plugins": [
|
|
|
- ["transform-runtime", {"polyfill": false}]
|
|
|
+ ["transform-runtime", {
|
|
|
+ "polyfill": false,
|
|
|
+ // "helpers": false,
|
|
|
+ }],
|
|
|
+ "babel-plugin-transform-es2015-template-literals",
|
|
|
+ "babel-plugin-transform-es2015-literals",
|
|
|
+ "babel-plugin-transform-es2015-function-name",
|
|
|
+ "babel-plugin-transform-es2015-arrow-functions",
|
|
|
+ "babel-plugin-transform-es2015-block-scoped-functions",
|
|
|
+ "babel-plugin-transform-es2015-classes",
|
|
|
+ "babel-plugin-transform-es2015-object-super",
|
|
|
+ "babel-plugin-transform-es2015-shorthand-properties",
|
|
|
+ "babel-plugin-transform-es2015-duplicate-keys",
|
|
|
+ "babel-plugin-transform-es2015-computed-properties",
|
|
|
+ "babel-plugin-transform-es2015-for-of",
|
|
|
+ "babel-plugin-transform-es2015-sticky-regex",
|
|
|
+ "babel-plugin-transform-es2015-unicode-regex",
|
|
|
+ "babel-plugin-check-es2015-constants",
|
|
|
+ "babel-plugin-transform-es2015-spread",
|
|
|
+ "babel-plugin-transform-es2015-parameters",
|
|
|
+ "babel-plugin-transform-es2015-destructuring",
|
|
|
+ "babel-plugin-transform-es2015-block-scoping",
|
|
|
],
|
|
|
"comments": false
|
|
|
}
|