2016-05-31 14:36:52 +00:00
|
|
|
{
|
2017-09-26 08:36:49 +00:00
|
|
|
"presets": ["react"],
|
2017-09-11 04:17:00 +00:00
|
|
|
"plugins": [
|
2017-09-26 08:36:49 +00:00
|
|
|
"check-es2015-constants",
|
2017-09-11 04:17:00 +00:00
|
|
|
"transform-object-rest-spread",
|
2019-03-09 17:16:18 +00:00
|
|
|
"transform-runtime",
|
|
|
|
[
|
|
|
|
"module-resolver",
|
|
|
|
{
|
|
|
|
"alias": {
|
|
|
|
"babel-runtime/core-js/object/get-prototype-of": "./src/polyfills/objectGetPrototypeOf",
|
|
|
|
"babel-runtime/helpers/extends": "./src/polyfills/extends",
|
|
|
|
"babel-runtime/helpers/inherits": "./src/polyfills/inherits",
|
|
|
|
"babel-runtime/helpers/createClass": "./src/polyfills/createClass",
|
|
|
|
"babel-runtime/helpers/possibleConstructorReturn": "./src/polyfills/possibleConstructorReturn",
|
|
|
|
"babel-runtime/helpers/classCallCheck": "./src/polyfills/classCallCheck",
|
|
|
|
"babel-runtime/core-js/object/keys": "./src/polyfills/keys"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2017-09-11 04:17:00 +00:00
|
|
|
[
|
|
|
|
"transform-define", "scripts/define.js"
|
|
|
|
]
|
2017-09-24 00:06:29 +00:00
|
|
|
],
|
|
|
|
"env": {
|
2018-12-18 21:54:21 +00:00
|
|
|
"legacy-es": {
|
|
|
|
"plugins": [
|
|
|
|
"transform-es2015-arrow-functions",
|
|
|
|
"transform-es2015-block-scoped-functions",
|
|
|
|
"transform-es2015-block-scoping",
|
|
|
|
"transform-es2015-classes",
|
|
|
|
"transform-es2015-computed-properties",
|
|
|
|
"transform-es2015-destructuring",
|
|
|
|
"transform-es2015-duplicate-keys",
|
|
|
|
"transform-es2015-for-of",
|
|
|
|
"transform-es2015-function-name",
|
|
|
|
"transform-es2015-literals",
|
|
|
|
"transform-es2015-object-super",
|
|
|
|
"transform-es2015-parameters",
|
|
|
|
"transform-es2015-shorthand-properties",
|
|
|
|
"transform-es2015-spread",
|
|
|
|
"transform-es2015-sticky-regex",
|
|
|
|
"transform-es2015-template-literals",
|
|
|
|
"transform-es2015-unicode-regex",
|
2019-03-09 17:16:18 +00:00
|
|
|
"transform-regenerator"
|
2018-12-18 21:54:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"legacy-cjs": {
|
2017-09-24 00:06:29 +00:00
|
|
|
"plugins": [
|
|
|
|
"transform-es2015-modules-commonjs"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2016-05-31 14:36:52 +00:00
|
|
|
}
|