Skip to content

Commit 1f71bbd

Browse files
philihpnicolodavis
authored andcommitted
Upgrade Babel 7 (#332)
* updates @storybook/react * wip updates to babel/rollup * rollup build updated * jest needs this to run * remove storybook * installed * integration harness updated to what create-react-app will make * include runtime helpers for whatever the hell rollup does * npm install with latest npm * package-lock hashes * firebase updated * exclude async-to-generator * properly remove storybook * add rollup-plugin-terser
1 parent f853da8 commit 1f71bbd

6 files changed

Lines changed: 11165 additions & 8301 deletions

File tree

.babelrc

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
{
22
"presets": [
3-
["es2015", { "modules": false }],
4-
"react",
3+
["@babel/preset-env", { "modules": false, "exclude": ["transform-regenerator", "transform-async-to-generator"] }],
4+
"@babel/preset-react"
55
],
66
"env": {
7-
"targets": {
8-
"node": "current"
9-
},
107
"test": {
11-
"plugins": ["transform-es2015-modules-commonjs"]
12-
},
13-
"rollup": {
14-
"plugins": ["external-helpers"]
8+
"plugins": ["@babel/plugin-transform-modules-commonjs"]
159
}
1610
},
1711
"plugins": [
18-
["module-resolver", {
19-
"alias": {
20-
"boardgame.io": "./packages",
12+
[
13+
"module-resolver",
14+
{
15+
"alias": {
16+
"boardgame.io": "./packages"
17+
}
2118
}
22-
}],
23-
"transform-object-rest-spread",
24-
"transform-class-properties"
19+
],
20+
"@babel/plugin-proposal-class-properties",
2521
]
2622
}

0 commit comments

Comments
 (0)