2016-05-31 14:36:52 +00:00
|
|
|
{
|
2016-07-11 18:08:26 +00:00
|
|
|
"presets": ["es2015", "react"],
|
2017-09-11 04:17:00 +00:00
|
|
|
"plugins": [
|
|
|
|
"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
|
|
|
}
|