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

Exclude app from _devPagesManifest.js in turbopack #48633

Merged
merged 2 commits into from Apr 20, 2023

Conversation

ForsakenHarmony
Copy link
Member

What?

Seems I accidentally included the app root when I initially added it, but apps never have a page loader, so they should be excluded

I also cleaned up the manifest a bit, and it now perfectly matches the one in next.js

Fixes WEB-926

@ijjk ijjk added Turbopack Related to Turbopack with Next.js. created-by: Turbopack team PRs by the turbopack team type: next labels Apr 20, 2023
Comment on lines +84 to +88
if !s.starts_with('/') {
format!("/{}", s)
} else {
s.to_string()
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seem to be hiding an inconsistency in get_pathname().

  • Add a comment to get_pathname() about the intended behavior (seems like with / should be always used)
  • Make all get_pathname implementations run the correct format
  • Potentially assert here that it has a leading /

sokra
sokra previously approved these changes Apr 20, 2023
@sokra sokra merged commit 8ab6c4c into canary Apr 20, 2023
99 checks passed
@sokra sokra deleted the hrmny/web-926-cyclic-refreshing-dashboard branch April 20, 2023 16:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Turbopack team PRs by the turbopack team Turbopack Related to Turbopack with Next.js. type: next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants