Joe Pea
Joe Pea
This globbing feature would be generic and would cover extensionless specifiers, while the idea in - https://github.com/WICG/import-maps/issues/292 is simpler, with no globbing, specifically for extensions in a way similar to...
This would be very useful for certain libraries, for example here's an importmap for Shoelace: ```js "@shoelace-style/shoelace/": "/node_modules/@shoelace-style/shoelace/", ``` and usage: ```js import '@shoelace-style/shoelace/dist/components/card/card.js' ``` Importing from `components/` is a...
Maybe the spec needs an update to allow aliasing withing the importmap itself? It seems like what I did should work, just the same was as the importmap modifies import...
Another reason this need pops up is writing HTML files in folders at different depths in the file system, where when you make a new file copied from another, you...
A workaround is to make all the transitive dependencies be direct dependencies of `my-app` in its `package.json`, so that Lerna will place them at the top level of node_modules besides...
The idea in - https://github.com/WICG/import-maps/issues/7 is more generic with its globbing syntax and would allow more possibilities, but is thus also more complicated. The idea in this issue specifically focuses...
@michaelficarra nothing except changing the URL of the file being fetched, just like all else in an importmap. It has no effect on mime types, importmaps are all about mapping...
We must not leave buildless people behind, and we must assume libraries will try to streamline usage of their libraries for end users, by writing importmaps for their end users....
This would be sweet, because with little restructure of an app, new features could start to `import` things and get modern type support and intellisense simply with `npm i @types/jquery`...
> did some one consider to maybe offer importMaps based on a per Script Tag Scope? @frank-dspeed Being able to configure import maps _per module script_ sounds like a really...