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

fix(turbopack-ecmascript-runtime): don't use path.relative for absolute paths #6731

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

ForsakenHarmony
Copy link
Member

@ForsakenHarmony ForsakenHarmony commented Dec 7, 2023

Description

This was causing an issue with import.meta.url used in @vercel/og trying to get the font file from project/app/node_modules instead of project/node_modules

Passing all next.js tests: vercel/next.js#59380

Closes PACK-2118

Copy link

vercel bot commented Dec 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-tailwind-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback Dec 7, 2023 7:37pm
rust-docs ❌ Failed (Inspect) Dec 7, 2023 7:37pm
9 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Dec 7, 2023 7:37pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Dec 7, 2023 7:37pm
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:37pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:37pm
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:37pm
examples-nonmonorepo ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:37pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:37pm
examples-vite-web ⬜️ Ignored (Inspect) Dec 7, 2023 7:37pm
turbo-site ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:37pm

Copy link
Contributor

github-actions bot commented Dec 7, 2023

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Dec 7, 2023

✅ This change can build next-swc

Copy link
Contributor

github-actions bot commented Dec 7, 2023

🟢 CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Dec 7, 2023

Linux Benchmark for f7f163d

Test Base PR % Significant %
bench_startup/Turbopack CSR/1000 modules 1344.84ms ± 3.85ms 1373.69ms ± 8.48ms +2.15% +0.31%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 24.96ms ± 0.81ms 25.07ms ± 0.83ms +0.44%
bench_hmr_to_eval/Turbopack CSR/1000 modules 24.65ms ± 0.81ms 24.72ms ± 0.83ms +0.30%
bench_startup/Turbopack CSR/1000 modules 1344.84ms ± 3.85ms 1373.69ms ± 8.48ms +2.15% +0.31%

Copy link
Contributor

github-actions bot commented Dec 7, 2023

Linux Benchmark for 89b84f2

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 24.82ms ± 0.80ms 24.84ms ± 0.79ms +0.07%
bench_hmr_to_eval/Turbopack CSR/1000 modules 24.33ms ± 0.76ms 24.41ms ± 0.81ms +0.34%
bench_startup/Turbopack CSR/1000 modules 1295.46ms ± 5.33ms 1299.07ms ± 11.10ms +0.28%

@ForsakenHarmony ForsakenHarmony marked this pull request as ready for review December 7, 2023 20:57
@ForsakenHarmony ForsakenHarmony merged commit a9f1499 into main Dec 7, 2023
52 of 53 checks passed
@ForsakenHarmony ForsakenHarmony deleted the hrmny/absolute-paths-in-workspace branch December 7, 2023 21:25
kdy1 added a commit to vercel/next.js that referenced this pull request Dec 8, 2023
### What?

Update SWC crates.

### Why?

To fix OOM bug of `inputSourceMap`.

Patch: swc-project/swc#8402

### How?

Closes PACK-2123



# Turbopack updates

* vercel/turbo#6733 <!-- Thomas Knickman -
chore(ignore): exclude rustic-ice files -->
* vercel/turbo#6731 <!-- Leah -
fix(turbopack-ecmascript-runtime): don't use `path.relative` for
absolute paths -->
* vercel/turbo#6745 <!-- Donny/강동윤 - Update
`swc_core` to `v0.86.98` -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants