-
Notifications
You must be signed in to change notification settings - Fork 43
query parameters / fragments on "exports"? #493
Comments
I think I agree with Domenic's reasoning on the import maps proposal and would say " This does mean that if a tool wants to cache bust, they would have to resolve (~ |
I find it odd that, Though, I also find how |
I think adding first-class query parameters to bare specifier parsing opens a whole can of worms. We would have to define a grammar and/or normalization scheme. By design, the matched specifiers aren't URL path segments. They can include spaces, emojis, URL special characters, it doesn't really matter. Node only does prefix matching and a trailing slash is the only recognized syntax beyond that. |
I'm fine with the direction we have, but strongly don't agree with the reasoning provided in the import maps issue. We should just add docs. |
closing as avoided |
I couldn't find on a quick search if there was intended behavior on "exports" preventing usage of query parameters and/or fragments.
Will not load a
./bar
export fromfoo
currently it seems.The text was updated successfully, but these errors were encountered: