Add @babel/plugin-transform-arrow-functions

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-08-23 16:58:25 +02:00
parent cbb5a70796
commit d3a2d4c201
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF
3 changed files with 17 additions and 0 deletions

View file

@ -9,6 +9,7 @@
"react"
],
"plugins": [
"@babel/plugin-transform-arrow-functions",
"transform-class-properties",
"react-hot-loader/babel"
]

15
package-lock.json generated
View file

@ -151,6 +151,12 @@
"@babel/types": "^7.0.0"
}
},
"@babel/helper-plugin-utils": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz",
"integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==",
"dev": true
},
"@babel/helper-split-export-declaration": {
"version": "7.4.4",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz",
@ -238,6 +244,15 @@
"integrity": "sha512-I5nW8AhGpOXGCCNYGc+p7ExQIBxRFnS2fd/d862bNOKvmoEPjYPcfIjsfdy0ujagYOIYPczKgD9l3FsgTkAzKA==",
"dev": true
},
"@babel/plugin-transform-arrow-functions": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.2.0.tgz",
"integrity": "sha512-ER77Cax1+8/8jCB9fo4Ud161OZzWN5qawi4GusDuRLcDbDG+bIGYY20zb2dfAFdTRGzrfq2xZPvF0R64EHnimg==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.0.0"
}
},
"@babel/polyfill": {
"version": "7.4.4",
"resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.4.4.tgz",

View file

@ -5,6 +5,7 @@
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-transform-arrow-functions": "^7.2.0",
"@types/bootstrap": "^4.3.1",
"@types/jquery": "^3.3.31",
"@types/react": "^16.9.2",