Hello,
We want to make som significant changes in the UI and have been experimenting with the several ways to do this. Because of the way we have our build cycle set up at the moment we would like to work with a SkinPage and add Javascript libraries there as an object (JavaScriptExtension).
We made some PoC to get this working. Resulting in copy and pasting a JQuiry library in a JavaScriptExtension and surround it with require([‘jquery’, function($ …
I wonder if it is possible to add the original library as an attachment to the skin and read this attachment in the JavaScriptExtension.
In this way, updates to the library we can manage by updating the attachment,
With a webjar you can use $services.webjars.url() is there something similar?
Regards
Jurjen