-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
set __NEXT_STRICT_MODE
#2878
set __NEXT_STRICT_MODE
#2878
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Ignored Deployments
|
🟢 CI successful 🟢Thanks |
3332242
to
6ecbbfb
Compare
Benchmark for 80f9a6a
Click to view full benchmark
|
6ecbbfb
to
e04d771
Compare
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
crates/next-core/src/env.rs
Outdated
"__NEXT_IMAGE_OPTS".to_string() => serde_json::to_string(&image_config).unwrap(), | ||
}; | ||
|
||
if config.react_strict_mode.unwrap_or(false) { |
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.
if config.react_strict_mode.unwrap_or(false) { | |
if next_config.react_strict_mode.unwrap_or(false) { |
crates/next-core/src/env.rs
Outdated
map.insert("__NEXT_STRICT_MODE".to_string(), "true".to_string()); | ||
} | ||
|
||
if config.react_strict_mode.unwrap_or(true) { |
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.
if config.react_strict_mode.unwrap_or(true) { | |
if next_config.react_strict_mode.unwrap_or(true) { |
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.
ah yea, bad rebase
seems my brain is still not fully recovered
e04d771
to
23d5a1e
Compare
Benchmark for 18976a6Click to view benchmark
|
Seems #2878 removed this accidentally
Seems #2878 removed this accidentally
and `__NEXT_STRICT_MODE_APP`
Seems vercel/turbo#2878 removed this accidentally
and `__NEXT_STRICT_MODE_APP`
Seems vercel/turbo#2878 removed this accidentally
and
__NEXT_STRICT_MODE_APP