ui5-task-babel-compile
v1.0.6
Published
Custom task to convert code using babel and regenerator-runtime
Downloads
43
Maintainers
Readme
ui5-task-babel-compile
Task extension for UI5 Tooling which converts javascript code to support older browsers. It's based on Wouter Lemaire's blog post UI5 Tooling Custom Transpiler (Babel) Builder Extension Task.
Getting started
Install
Install this package using your favorite package manager. (e.g. pnpm)
pnpm i -D ui5-task-babel-compile
Configuration
In your package.json
add the task as a ui5 dependency.
{
"ui5": {
"dependencies": ["ui5-task-babel-compile"]
}
}
Last but not least add the task as a custom task in your ui5.yaml
.
builder:
customTasks:
- name: ui5-task-babel-compile
afterTask: replaceVersion