I have inline script which needs to refer to my images. Simply adding image pack tag to the image does not work as it does not point to the correct path.
Example
let icon = {
url: '<%= image_pack_tag('map/icon.svg') %>'
}
Your help would be much appreciated.
Kind regards, Jeroen