Skip to content

Commit

Permalink
Merge pull request #9 from coreylight/fix-8
Browse files Browse the repository at this point in the history
fix(babel.rc): bump supported browsers to those that have generator functionality
  • Loading branch information
coreylight authored Feb 21, 2018
2 parents 97f7286 + d8bb128 commit 55338f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/config/babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ const envModules = treeshake ? { modules: false } : {};

const envTargets = isTest
? { node: 'current' }
: isBrowser ? { browsers: ['> 1% in US'] } : { node: '6.10' };
: isBrowser
? {
// support browsers that include generator functions
browsers: ['> 1% in US', 'not ie < 12', 'not ios_saf < 10']
}
: { node: '6.10' };

const envOptions = Object.assign({}, envModules, { targets: envTargets });

Expand Down

0 comments on commit 55338f6

Please sign in to comment.