-
Notifications
You must be signed in to change notification settings - Fork 2.1k
update next.js to 13.1.7-canary.2 #3595
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
8 Ignored Deployments
|
Benchmark for 2737e22
Click to view full benchmark
|
Benchmark for 4575549
Click to view full benchmark
|
|
Benchmark for 274e657
Click to view full benchmark
|
e309999
to
af163d1
Compare
Benchmark for 339f58d
Click to view full benchmark
|
NpmPackage::new("next", "13.0.8-canary.2"), | ||
NpmPackage::new("next", "13.1.7-canary.2"), |
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.
This enables the next.js router for the benchmarks, which causes a slowdown
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.
Would be nice if we could declare this in some central place somehow
let globs = cwd.join(globs.replace('/', PATH_SEP.to_string().as_str())); | ||
let root = cwd.join(root.replace('/', PATH_SEP.to_string().as_str())); |
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.
Windows
let mut seen = HashSet::from([cwd.join(root)]); | ||
let globs = cwd.join(globs.replace('/', PATH_SEP.to_string().as_str())); | ||
let root = cwd.join(root.replace('/', PATH_SEP.to_string().as_str())); | ||
println!("cargo:rerun-if-changed={}", root.display()); |
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.
The root directory should also be watched
let mut seen = HashSet::from([cwd.join(root)]); | ||
let globs = cwd.join(globs.replace('/', PATH_SEP.to_string().as_str())); | ||
let root = cwd.join(root.replace('/', PATH_SEP.to_string().as_str())); | ||
println!("cargo:rerun-if-changed={}", root.display()); |
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.
Shouldn't that be handled by the ancestors
iter below? Or is that for the case where root
is empty?
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.
The root is in seen
from the beginning, so it's ignored below
GlobVc::new( | ||
"**/*/next/dist/client/components/react-dev-overlay/hot-reloader-client.js", | ||
), | ||
GlobVc::new("**/next/dist/client/components/react-dev-overlay/hot-reloader-client.js"), |
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.
locally rustfmt does this differently for me
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.
The CI checks fmt, so it's fine^^
No description provided.