Add tool to transpile JavaScript sources using Babel (#3009)

JerryScript-DCO-1.0-Signed-off-by: Daniella Barsony bella@inf.u-szeged.hu
This commit is contained in:
Daniella Barsony
2019-08-15 14:53:33 +02:00
committed by Dániel Bátyai
parent 3c69dfab2c
commit 77237960a7
4 changed files with 159 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"plugins": [
"@babel/plugin-transform-function-name",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-block-scoping",
"@babel/plugin-transform-destructuring",
"@babel/plugin-transform-block-scoped-functions",
"@babel/plugin-transform-unicode-regex",
"@babel/plugin-transform-sticky-regex",
"@babel/plugin-transform-spread",
"@babel/plugin-transform-parameters",
"@babel/plugin-transform-object-super",
"@babel/plugin-transform-new-target",
"@babel/plugin-transform-literals",
"@babel/plugin-transform-instanceof"
]
}