Skip to content

Commit

Permalink
Merge branch 'babel-7'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Nov 5, 2017
2 parents a707b90 + fe6816c commit afe2859
Show file tree
Hide file tree
Showing 15 changed files with 1,250 additions and 798 deletions.
12 changes: 0 additions & 12 deletions .babelrc

This file was deleted.

15 changes: 15 additions & 0 deletions .babelrc.js
@@ -0,0 +1,15 @@
module.exports = {
presets: [
[
'@babel/env',
{
loose: true,
modules: process.env.BABEL_ENV === 'cjs' ? 'commonjs' : false,
forceAllTransforms: process.env.NODE_ENV === 'production',
},
],
'@babel/react',
'@babel/stage-2',
],
plugins: ['annotate-pure-calls'],
}
4 changes: 4 additions & 0 deletions .browserslistrc
@@ -0,0 +1,4 @@
> 1%
last 2 versions
Firefox ESR
ie >= 10

0 comments on commit afe2859

Please sign in to comment.