-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
fix(turbopack): add no-op resolveAbsolutePath
to browser runtime
#8549
fix(turbopack): add no-op resolveAbsolutePath
to browser runtime
#8549
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
8 Ignored Deployments
|
🟢 Turbopack Benchmark CI successful 🟢Thanks |
✅ This change can build |
|
1a084c1
to
1c3c3d7
Compare
crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/runtime-base.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a test case testing this behavior?
@sokra I don't think we have a way to do an execution test with the browser runtime, do we? Could add a test to the next.js side |
1c3c3d7
to
c3ed4d1
Compare
…ercel/turborepo#8549) ### Description Reading `import.meta.url` should work in the browser, it can just return a `/ROOT/...` path. Closes PACK-3095 Fixes #66005
…ercel/turborepo#8549) ### Description Reading `import.meta.url` should work in the browser, it can just return a `/ROOT/...` path. Closes PACK-3095 Fixes #66005
…ercel/turborepo#8549) ### Description Reading `import.meta.url` should work in the browser, it can just return a `/ROOT/...` path. Closes PACK-3095 Fixes #66005
…ercel/turborepo#8549) ### Description Reading `import.meta.url` should work in the browser, it can just return a `/ROOT/...` path. Closes PACK-3095 Fixes #66005
Description
Reading
import.meta.url
should work in the browser, it can just return a/ROOT/...
path.Closes PACK-3095
Fixes vercel/next.js#66005