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
It's not possible to map ui5 resources paths to custom ones rather than /resources and /test-resources. The path taken from configuration->ui5->path is treated as string instead with no option to pass object mapping. This causes problems with overlapping libraries consumed by application/component, that are also exposed under /resources path, thus can't be consumed anymore.
What is expected is similar to pathReplace option in backend-proxy-middleware:
The text was updated successfully, but these errors were encountered:
tavnabisoft
changed the title
[ui5-proxy-middleware] FEATURE: Allow to specify pathRewrite for resources and testResources paths
[ui5-proxy-middleware] FEATURE: Allow to specify pathReplace for /resources and /test-resources paths
Jan 22, 2025
Description
It's not possible to map ui5 resources paths to custom ones rather than
/resources
and/test-resources
. The path taken fromconfiguration
->ui5
->path
is treated as string instead with no option to pass object mapping. This causes problems with overlapping libraries consumed by application/component, that are also exposed under/resources
path, thus can't be consumed anymore.What is expected is similar to
pathReplace
option in backend-proxy-middleware:The text was updated successfully, but these errors were encountered: