Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import maps merging behaviors #88

Closed
guybedford opened this issue Jan 5, 2019 · 3 comments
Closed

Import maps merging behaviors #88

guybedford opened this issue Jan 5, 2019 · 3 comments

Comments

@guybedford
Copy link
Collaborator

When loading multiple import maps, what merging behavior should there be?

  • Can a package be redefined or does it throw when the same package is defined by another map?
  • I would assume scopes always merge?

Also worth noting that if package is defined in one map, package/ could still be defined in another map and vice versa? Would we want to restrict this too?

@blittle
Copy link

blittle commented Jan 6, 2019

The example here does have lodash getting overridden by a second map: https://github.com/domenic/import-maps#dynamic-import-map-example

@domenic
Copy link
Collaborator

domenic commented Jan 8, 2019

@guybedford
Copy link
Collaborator Author

Thanks - it seems like these are defined then, great to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants