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",
|
|
|
|
"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-modules-commonjs",
|
|
|
|
"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",
|
|
|
|
"transform-regenerator",
|
|
|
|
|
2017-09-11 04:17:00 +00:00
|
|
|
"transform-object-rest-spread",
|
|
|
|
"transform-runtime",
|
|
|
|
"transform-react-remove-prop-types",
|
|
|
|
[
|
|
|
|
"transform-define", "scripts/define.js"
|
2017-09-17 08:54:22 +00:00
|
|
|
],
|
|
|
|
[
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
2017-09-11 04:17:00 +00:00
|
|
|
]
|
|
|
|
]
|
2016-05-31 14:36:52 +00:00
|
|
|
}
|