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

Error handling #28

Open
zenparsing opened this issue Feb 25, 2019 · 1 comment
Open

Error handling #28

zenparsing opened this issue Feb 25, 2019 · 1 comment

Comments

@zenparsing
Copy link

Import maps fail-soft with console warnings. Like import maps, export maps have a fairly restrictive syntax for both keys and values. What should node do when it encounters an invalid key or value?

@jkrems
Copy link
Owner

jkrems commented Feb 25, 2019

I assume we would generally follow precedent set by import maps. There's currently discussions around making export maps work for providing different entrypoints depending on platform (e.g. modern browser, node 6+, etc.) which may force us to go with "ignore invalid entries" to some degree.

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

2 participants