UI5 CLI extension that provides a middleware and task to transpile JavaScript or TypeScript code to ES5 using Babel. Version 3.11.0, actively maintained by the UI5 community. Supports on-the-fly development server transpilation with sourcemaps for debugging original ES6+/TS sources, and a build task that generates bundled transpiled output including d.ts files for libraries. Configuration-driven via ui5.yaml with support for custom Babel configs, include/exclude patterns, and TypeScript auto-detection via tsconfig.json. Requires @ui5/cli@3.0.0+ and specVersion 3.0.0. Key differentiator: tight integration with UI5's build tooling without modifying the application codebase.
npm install ui5-tooling-transpileVerified import paths — ran on the pinned version, not inferred.
Installs the package as dev dependency and configures middleware and build task in ui5.yaml for TypeScript transpilation.
Upgrade @ui5/cli to >=3.0.0 and set specVersion: "3.0" in ui5.yaml.
Use 'includes' and 'excludes' instead of deprecated aliases.
Use 'transformTypeScript' instead of 'transpileTypeScript'.
Explicitly set 'transformTypeScript: true' and provide 'altTsConfig' path.
Use browser devtools sourcemap support; be aware of mapping offset.
Update ui5.yaml: specVersion: "3.0"
Run 'npm install ui5-tooling-transpile --save-dev' and ensure node_modules contains it.
Replace 'includePatterns' with 'includes' in ui5.yaml.
Create tsconfig.json in project root or set 'transformTypeScript: true' and provide 'altTsConfig' path.