Custom task to convert code using babel and regenerator-runtime
)
pnpm i -D ui5-task-babel-compile
`
$3
In your package.json add the task as a ui5 dependency.
`json
{
"ui5": {
"dependencies": ["ui5-task-babel-compile"]
}
}
`
Last but not least add the task as a custom task in your ui5.yaml.
`yaml
builder:
customTasks:
- name: ui5-task-babel-compile
afterTask: replaceVersion
``