Skip to content

Is importing by the absolute specifier stable? #43947

Discussion options

You must be logged in to vote

pathToFileURL().toString(); converts the path into url-encoded file protocol string,
and node require simply doesn't support using that format to import modules.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kapelianovych
Comment options

Answer selected by Kapelianovych
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants