Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

forward slash in file url parameter causing error #512

Closed
dnalborczyk opened this issue Jul 19, 2018 · 1 comment
Closed

forward slash in file url parameter causing error #512

dnalborczyk opened this issue Jul 19, 2018 · 1 comment
Labels

Comments

@dnalborczyk
Copy link
Contributor

dnalborczyk commented Jul 19, 2018

e.g.:

import 'file:///some-path/foo.js?__filePath=.%2Ftemplates%2Fsome.file'

;(async () => {
  await import('file:///some-path/foo.js?__filePath=.%2Ftemplates%2Fsome.file')
})()

// Error: Cannot find module 'file:///some-path/foo.js?__filePath=.%2Ftemplates%2Fsome.file'

repro:

https://github.com/dnalborczyk/esm-repros/tree/issue-512

@dnalborczyk dnalborczyk changed the title forward slash in file url parameter causing exception forward slash in file url parameter causing error Jul 19, 2018
@jdalton
Copy link
Member

jdalton commented Jul 19, 2018

Thanks @dnalborczyk!

Update:

v3.0.72 is released 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants