Skip to content

Commit 261e45b

Browse files
authored
Update to Rollup 0.56.x for ES2018 support. (#156)
Rollup 0.56.x uses Acorn 5.4.1 which has built-in support for the new ECMAScript 2018 features: async iteration and object rest/spread.
1 parent db15626 commit 261e45b

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

bundle_config.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
import acornAsyncIteration from 'acorn-async-iteration/inject';
2-
31
export default {
42
output: {
5-
format: 'umd'
3+
format: 'umd',
64
},
75
acorn: {
86
ecmaVersion: 9,
9-
plugins: { asyncIteration: true }
107
},
11-
acornInjectPlugins: [
12-
acornAsyncIteration
13-
]
148
};

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"node": ">=8.9.0"
77
},
88
"devDependencies": {
9-
"acorn-async-iteration": "^0.1.0",
109
"babel-eslint": "^8.2.1",
1110
"babel-plugin-external-helpers": "^6.22.0",
1211
"babel-plugin-transform-builtin-extend": "^1.1.2",
@@ -24,8 +23,8 @@
2423
"jsdoc": "^3.5.5",
2524
"mocha": "^4.1.0",
2625
"prettyjson": "^1.2.1",
27-
"rollup": "^0.55.0",
26+
"rollup": "^0.56.2",
2827
"rollup-plugin-babel": "^3.0.3",
29-
"rollup-plugin-node-resolve": "^3.0.2"
28+
"rollup-plugin-node-resolve": "^3.0.3"
3029
}
3130
}

0 commit comments

Comments
 (0)