transpile object rest

This commit is contained in:
Alfred Melch 2019-08-07 03:28:32 +02:00
parent ae9f216946
commit b4b1aac857
3 changed files with 15 additions and 7 deletions

View File

@ -1,3 +1,4 @@
{
"presets": ["@babel/preset-react"]
}
"presets": ["@babel/preset-react"],
"plugins": ["@babel/plugin-proposal-object-rest-spread"]
}

View File

@ -350,9 +350,9 @@
}
},
"@babel/plugin-proposal-object-rest-spread": {
"version": "7.4.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.4.tgz",
"integrity": "sha512-dMBG6cSPBbHeEBdFXeQ2QLc5gUpg4Vkaz8octD4aoW/ISO+jBOcsuxYL7bsb5WSu8RLP6boxrBIALEHgoHtO9g==",
"version": "7.5.5",
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.5.5.tgz",
"integrity": "sha512-F2DxJJSQ7f64FyTVl5cw/9MWn6naXGdk3Q3UhDbFEEHv+EilCPoeRD3Zh/Utx1CJz4uyKlQ4uH+bJPbEhMV7Zw==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "7.0.0",
@ -818,7 +818,7 @@
"@babel/helper-plugin-utils": "7.0.0",
"@babel/plugin-proposal-async-generator-functions": "7.2.0",
"@babel/plugin-proposal-json-strings": "7.2.0",
"@babel/plugin-proposal-object-rest-spread": "7.4.4",
"@babel/plugin-proposal-object-rest-spread": "7.5.5",
"@babel/plugin-proposal-optional-catch-binding": "7.2.0",
"@babel/plugin-proposal-unicode-property-regex": "7.4.4",
"@babel/plugin-syntax-async-generators": "7.2.0",
@ -3939,6 +3939,11 @@
"schema-utils": "1.0.0"
}
},
"file-saver": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.2.tgz",
"integrity": "sha512-Wz3c3XQ5xroCxd1G8b7yL0Ehkf0TC9oYC6buPFkNnU9EnaPlifeAFCyCh+iewXTyFRcg0a6j3J7FmJsIhlhBdw=="
},
"fill-range": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
@ -5720,7 +5725,7 @@
"@babel/core": "7.4.5",
"@babel/parser": "7.4.5",
"@babel/plugin-proposal-class-properties": "7.4.4",
"@babel/plugin-proposal-object-rest-spread": "7.4.4",
"@babel/plugin-proposal-object-rest-spread": "7.5.5",
"@babel/preset-env": "7.4.5",
"@babel/preset-flow": "7.0.0",
"@babel/preset-typescript": "7.3.3",

View File

@ -23,6 +23,7 @@
"benchmark": "^2.1.4",
"chart.js": "^2.8.0",
"file-drop-element": "^0.2.0",
"file-saver": "^2.0.2",
"lodash": "^4.17.11",
"platform": "^1.3.5",
"react": "^16.8.6",
@ -32,6 +33,7 @@
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@webpack-cli/serve": "^0.1.8",
"babel-loader": "^8.0.6",