Add syntax-object-rest-spread as devDep for tests.
This commit is contained in:
parent
ddfb6f2c44
commit
f2f226b4f2
@ -15,6 +15,7 @@
|
||||
"babel-plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "^6.24.0"
|
||||
"babel-helper-plugin-test-runner": "^6.24.0",
|
||||
"babel-plugin-syntax-object-rest-spread": "^6.13.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1 @@
|
||||
export const { foo, ...bar } = {};
|
||||
@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
const { foo, ...bar } = {};
|
||||
exports.foo = foo;
|
||||
exports.bar = bar;
|
||||
@ -1,3 +1,6 @@
|
||||
{
|
||||
"plugins": ["external-helpers", ["transform-es2015-modules-commonjs", { "strict": true }]]
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"syntax-object-rest-spread",
|
||||
["transform-es2015-modules-commonjs", { "strict": true }]]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user