Skip to content

Commit

Permalink
Updates to build for babel-preset-env (reduxjs#2696)
Browse files Browse the repository at this point in the history
* Updates to build for babel-preset-env

* Fixes for regenerator stuff in the output.

Waiting on rollup/rollup-plugin-babel#100 and rollup/rollup#1595
  • Loading branch information
hmillison authored and tomipaul committed Apr 8, 2018
1 parent 43ddd68 commit 26e4d25
Show file tree
Hide file tree
Showing 4 changed files with 286 additions and 99 deletions.
45 changes: 23 additions & 22 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
{
"presets": [
[
"env",
{
"targets": {
"browsers": [
"ie >= 11"
]
},
"exclude": ["transform-async-to-generator", "transform-regenerator"],
"modules": false,
"loose": true
}
]
],
"plugins": [
["transform-es2015-template-literals", { "loose": true }],
"transform-es2015-literals",
"transform-es2015-function-name",
"transform-es2015-arrow-functions",
"transform-es2015-block-scoped-functions",
["transform-es2015-classes", { "loose": true }],
"transform-es2015-object-super",
"transform-es2015-shorthand-properties",
["transform-es2015-computed-properties", { "loose": true }],
["transform-es2015-for-of", { "loose": true }],
"transform-es2015-sticky-regex",
"transform-es2015-unicode-regex",
"check-es2015-constants",
["transform-es2015-spread", { "loose": true }],
"transform-es2015-parameters",
["transform-es2015-destructuring", { "loose": true }],
"transform-es2015-block-scoping",
"transform-object-rest-spread",
"transform-es3-member-expression-literals",
"transform-es3-property-literals"
"transform-object-rest-spread"
],
"env": {
"commonjs": {
"plugins": [
["transform-es2015-modules-commonjs", { "loose": true }]
"presets": [
[
"env",
{
"loose": true
}
]
]
},
"es": {
Expand Down
Loading

0 comments on commit 26e4d25

Please sign in to comment.