45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
{
|
|
"presets": ["react"],
|
|
"plugins": [
|
|
"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",
|
|
|
|
"transform-object-rest-spread",
|
|
"transform-runtime",
|
|
"transform-react-remove-prop-types",
|
|
[
|
|
"transform-define", "scripts/define.js"
|
|
],
|
|
[
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|