Default map should be always preferred over import map given by user
See original GitHub issuehttps://github.com/lumeland/lume/blob/89a7954854367531c3b7fbcafff3d60ff695cfd6/ci.ts#L88
Shouldn’t this be opposite?
{ ...resolvedMap.imports, ...map.imports }
seems better.
I spent 2-3 hours resolving the following error, and that was because of mismatch between the import map I specified (lume==1.4.2) and the real Lume version(lume==1.4.3).
TypeError: Cannot redefine property: Symbol(Symbol.hasInstance)
at (https://deno.land/x/deno_dom@v0.1.20-alpha/src/api.ts:58:8)
I set Lume url on my import map just for LSP. On the real situation of building the site, the lume version specified through import map is better to be same as the running lume.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Transform Map - specifying default selection and e...
When running transforms on an Import Set, is it possible to specify which transform maps are selected by default and in what order?...
Read more >Localizing the Map | Maps JavaScript API | Google Developers
By default, the Maps JavaScript API uses the user's preferred language setting as specified in the browser, when displaying textual information such as...
Read more >The Map Interface (The Java™ Tutorials > Collections ...
A Map is an object that maps keys to values. A map cannot contain duplicate keys: Each key can map to at most...
Read more >Select other route options in Maps on iPhone - Apple Support
With a route showing in the Maps app , you can select various options before you tap Go. A map showing multiple driving...
Read more >Set preferences—ArcGIS Business Analyst help
Use the Default country drop-down menu to choose the preferred country for use in ... In the Default Map Location section, provide an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The latest development version of lume (
lume upgrade --dev
) includes thelume import-map
command to generate/update import maps files.Yes, good point.