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

Implement client_root for edge in Turbopack #61024

Merged
merged 11 commits into from
Jan 23, 2024

Conversation

timneutkens
Copy link
Member

@timneutkens timneutkens commented Jan 23, 2024

What?

Implements vercel/turbo#7081. Ensures image imports in the edge runtime have the correct asset url. Previously it would be /assets/file.hash.png but it should be /_next/static/media/file.hash.png.

Updates the image tests to correctly compare the values in Turbopack and the values in Webpack. Currently it only checks webpack values, causing the tests to fail in Turbopack.

Closes NEXT-2194

@timneutkens timneutkens requested review from timeyoutakeit and StephDietz and removed request for a team January 23, 2024 11:07
@ijjk ijjk added area: tests Turbopack Related to Turbopack with Next.js. created-by: Next.js team PRs by the Next.js team type: next labels Jan 23, 2024
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @timneutkens and the rest of your teammates on Graphite Graphite

@timneutkens timneutkens marked this pull request as draft January 23, 2024 11:47
@timneutkens timneutkens force-pushed the 01-23-Implement_client_root_for_edge_in_Turbopack branch from 9e8fcd1 to e58a2b0 Compare January 23, 2024 13:53
@ijjk
Copy link
Member

ijjk commented Jan 23, 2024

Tests Passed

@timneutkens timneutkens marked this pull request as ready for review January 23, 2024 16:00
@timneutkens timneutkens merged commit 59e042a into canary Jan 23, 2024
68 of 69 checks passed
@timneutkens timneutkens deleted the 01-23-Implement_client_root_for_edge_in_Turbopack branch January 23, 2024 17:41
@timneutkens
Copy link
Member Author

Landing as Tobias reviewed it.

@github-actions github-actions bot added the locked label Feb 7, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team locked Turbopack Related to Turbopack with Next.js. type: next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants