Closed lubomirblazekcz closed 2 years ago
Thanks for your feedback but one question first; are you running the EIk server or are you just doing a mapping with rollup (I see you are refering to esm.sh)? I am asking because this module builds on rollup-plugin-import-map where this logic is located. This module only loads an Eik config to load import maps from en Eik server. If the later, you should probably just use rollup-plugin-import-map.
Anyhow; this issue has also been reported here https://github.com/trygve-lie/rollup-plugin-import-map/issues/14. I'll take a look at it in the coming days.
Just for mapping with rollup. Thanks for the heads-up about the other repo. Propably better for my use case, but Elk sure looks interesting, gonna give it a try sometime
Example usage
or
import is not replaced with url from importmap
This is important for libs that have plugins, language files or other stuff in subfolders