Skip to content

Commit a0bd999

Browse files
authored
Merge pull request #36 from uphold/support/change-babel-config
Change .babelrc to babel.config.js
2 parents 47daccd + 8c6219f commit a0bd999

File tree

4 files changed

+806
-671
lines changed

4 files changed

+806
-671
lines changed

.babelrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

babel.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
plugins: ['lodash'],
3+
presets: [
4+
[
5+
'@babel/preset-env',
6+
{
7+
bugfixes: true,
8+
corejs: { proposals: true, version: 3 },
9+
loose: true,
10+
targets: { esmodules: true },
11+
useBuiltIns: 'entry'
12+
}
13+
]
14+
]
15+
};

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
"standard-error": "1.1.0"
3737
},
3838
"devDependencies": {
39-
"@babel/cli": "7.8.4",
40-
"@babel/core": "7.9.6",
41-
"@babel/preset-env": "7.9.6",
42-
"@babel/register": "7.9.0",
39+
"@babel/cli": "7.10.1",
40+
"@babel/core": "7.10.2",
41+
"@babel/preset-env": "7.10.2",
42+
"@babel/register": "7.10.1",
4343
"@uphold/github-changelog-generator": "1.0.2",
4444
"babel-eslint": "10.1.0",
4545
"babel-loader": "8.1.0",
@@ -58,7 +58,7 @@
5858
"lodash-webpack-plugin": "0.11.5",
5959
"nock": "12.0.3",
6060
"pre-commit": "1.2.2",
61-
"terser-webpack-plugin": "3.0.1",
61+
"terser-webpack-plugin": "3.0.2",
6262
"webpack": "4.43.0",
6363
"webpack-cli": "3.3.11"
6464
},

0 commit comments

Comments
 (0)