You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failure to serve local transpiled TypeScript library files correctly using workspace configuration #996
When adding a local TypeScript UI5 library to my UI5 app descriptor and using the UI5 Tooling workspace configuration, the UI5 Tooling should recognize the library as being implemented in TypeScript and serve the transpiled files via the webserver when running the app using ui5 serve.
Current Behavior
While using ui5 serve the UI5 app tries to fetch the library.js file, resulting in an error failed to load 'mylibrary/library.js' from resources/mylibrary/library.js: script load error
Copying the the transpiled file from dist/resources/mylibrary/library.js to src/ results in the browser being able to load this specific file.
Currently the UI5 Tooling does not provide typescript transpilation out of the box. However, there are plenty of middlewares that could be used.
You can use, for example the ui5-tooling-transpile middleware/task
Activity
d3xter666 commentedon Jul 31, 2024
Hi @catbuubuu ,
Thank you for your feedback!
Currently the UI5 Tooling does not provide typescript transpilation out of the box. However, there are plenty of middlewares that could be used.
You can use, for example the ui5-tooling-transpile middleware/task
Cheers