Skip to content

Commit

Permalink
add back helper, exclude typeof transform
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Sep 16, 2017
1 parent 824901a commit 567cea6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
module.exports = {
"presets": [
presets: [
[
"env",
'env',
{
"loose": true,
"modules": false
loose: true,
modules: false,
exclude: ['transform-es2015-typeof-symbol']
}
]
],
Expand Down
3 changes: 2 additions & 1 deletion build/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const plugins = [
babel({
exclude: 'node_modules/**', // only transpile our source code
externalHelpersWhitelist: [ // include only required helpers
'typeof',
'defineProperties',
'createClass',
'inheritsLoose'
]
})
Expand Down

0 comments on commit 567cea6

Please sign in to comment.