1.0.0 • Published 4 years ago

ui5-task-babel-convert v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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