Skip to content

Commit

Permalink
Upgrade Babel 7 (#332)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
philihp authored and nicolodavis committed Jan 15, 2019
1 parent f853da8 commit 1f71bbd
Show file tree
Hide file tree
Showing 6 changed files with 11,165 additions and 8,301 deletions.
26 changes: 11 additions & 15 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
{
"presets": [
["es2015", { "modules": false }],
"react",
["@babel/preset-env", { "modules": false, "exclude": ["transform-regenerator", "transform-async-to-generator"] }],
"@babel/preset-react"
],
"env": {
"targets": {
"node": "current"
},
"test": {
"plugins": ["transform-es2015-modules-commonjs"]
},
"rollup": {
"plugins": ["external-helpers"]
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
},
"plugins": [
["module-resolver", {
"alias": {
"boardgame.io": "./packages",
[
"module-resolver",
{
"alias": {
"boardgame.io": "./packages"
}
}
}],
"transform-object-rest-spread",
"transform-class-properties"
],
"@babel/plugin-proposal-class-properties",
]
}

0 comments on commit 1f71bbd

Please sign in to comment.