Skip to content

Commit 4cb50a6

Browse files
committed
fix: babel build via the workaround https://phabricator.babeljs.io/T2877#78089
Huh, it's to tricky to use Map/Set in ES5.
1 parent a53848d commit 4cb50a6

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.babelrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
22
"env": {
33
"development": {
4+
"passPerPreset": true,
45
"presets": [
5-
["es2015", {"modules": "commonjs"}]
6+
{ "plugins": [ "transform-runtime" ] },
7+
{
8+
"passPerPreset": false,
9+
"presets": ["es2015"]
10+
}
611
],
712
"plugins": [
813
"syntax-async-functions",

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## master
22

3+
## 1.0.7 (August 15, 2016)
4+
- fix: babel build via the workaround https://phabricator.babeljs.io/T2877#78089 Huh, it's to tricky to use Map/Set in ES5.
5+
36
## 1.0.6 (August 13, 2016)
47
- fix: babel build process
58

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-compose-connection",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "Plugin for `graphql-compose` which provide a connection resolver for types.",
55
"files": [
66
"es",
@@ -34,6 +34,7 @@
3434
"babel-plugin-transform-flow-strip-types": "6.8.0",
3535
"babel-plugin-transform-object-rest-spread": "6.8.0",
3636
"babel-plugin-transform-regenerator": "6.11.4",
37+
"babel-plugin-transform-runtime": "6.12.0",
3738
"babel-preset-es2015": "6.13.2",
3839
"chai": "3.5.0",
3940
"chai-as-promised": "5.3.0",
@@ -59,5 +60,8 @@
5960
"test": "babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js",
6061
"watch": "babel-node ./resources/watch.js",
6162
"link": "npm link graphql && npm link graphql-compose && npm link"
63+
},
64+
"dependencies": {
65+
"babel-runtime": "6.11.6"
6266
}
6367
}

0 commit comments

Comments
 (0)