Skip to content

Commit

Permalink
update .babelrc to .babelrc.js, inlude in .babelrc
Browse files Browse the repository at this point in the history
  • Loading branch information
timhagn committed Oct 23, 2018
1 parent 0478621 commit f26a3a5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const presets = [
[
"@babel/env",
{
"useBuiltIns": "entry"
},
],
];

module.exports = { presets };
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-uglify": "^6.0.0",
"styled-components": "^4.0.2"
}
},
"browserslist": "> 0.25%, not dead"
}
1 change: 0 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import resolve from 'rollup-plugin-node-resolve';
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import uglify from 'rollup-plugin-uglify';
import gzip from 'rollup-plugin-gzip';

const prod = process.env.PRODUCTION;

Expand Down

0 comments on commit f26a3a5

Please sign in to comment.