Permalink
Browse files

Updateb babelrc to not run transform-es2015-modules-commonjs for BABE…

…L_ENV=es. Added .babelrc to .npmignore.
  • Loading branch information...
joedski committed Mar 25, 2016
1 parent 1f99eae commit 3c3ba1da07c180e27e466472faed757a8ad65db7
Showing with 32 additions and 3 deletions.
  1. +31 −3 .babelrc
  2. +1 −0 .npmignore
@@ -1,7 +1,35 @@
{
"presets": ["es2015", "stage-2"],
"presets": ["stage-2"],
"sourceMaps": true,
"plugins": [
["transform-react-jsx", {"pragma": "h"}]
]
["transform-react-jsx", {"pragma": "h"}],
"transform-es2015-template-literals",
"transform-es2015-literals",
"transform-es2015-function-name",
"transform-es2015-arrow-functions",
"transform-es2015-block-scoped-functions",
"transform-es2015-classes",
"transform-es2015-object-super",
"transform-es2015-shorthand-properties",
"transform-es2015-duplicate-keys",
"transform-es2015-computed-properties",
"transform-es2015-for-of",
"transform-es2015-sticky-regex",
"transform-es2015-unicode-regex",
"check-es2015-constants",
"transform-es2015-spread",
"transform-es2015-parameters",
"transform-es2015-destructuring",
"transform-es2015-block-scoping",
"transform-es2015-typeof-symbol",
["transform-regenerator", { "async": false, "asyncGenerators": false }],
],
"env": {
"commonjs": {
"plugins": [
["transform-es2015-modules-commonjs", { "loose": true }]
]
},
"es": {}
}
}
@@ -1,2 +1,3 @@
.babelrc
test
src

0 comments on commit 3c3ba1d

Please sign in to comment.