refactor(metadata-route): extract JS_DEV_CONDITION const, revert accidental…
refactor(metadata-route): extract JS_DEV_CONDITION const, revert accidental generated-native.d.ts changes
- Extract the repeated `process.env.TURBOPACK && process.env.__NEXT_DEV_SERVER`
guard into a named Rust constant (JS_DEV_CONDITION) used across all 5
metadata route wrapper templates, so a single change point updates all of them.
- Revert accidental string→RcStr changes in generated-native.d.ts that were
unrelated to the server HMR fix.
- Remove spurious blank line in server-hmr.test.ts.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment