Skip to content

fix: document Next.js automatic JSX requirements - #381

Closed
cursor[bot] wants to merge 6 commits into
mainfrom
cursor/content-code-synchronization-c2c2
Closed

fix: document Next.js automatic JSX requirements#381
cursor[bot] wants to merge 6 commits into
mainfrom
cursor/content-code-synchronization-c2c2

Conversation

@cursor

@cursor cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the stale SPA-only automatic JSX limitation with current React SPA and Next.js support
  • document the required @generaltranslation/compiler installation and Next.js Babel compiler setup
  • clarify that Next.js automatic JSX injection requires Webpack and is unavailable with Turbopack or SWC

Verification

  • installed and exercised gt-next@11.0.10 and @generaltranslation/compiler@1.3.32
  • built a Next.js 16.2.6 fixture successfully with next build --webpack
  • confirmed Turbopack emits the published incompatibility warning
  • pnpm build:content
  • node --experimental-strip-types scripts/validate-links.ts
Open in Web View Automation 

@archie-mckenzie
archie-mckenzie marked this pull request as ready for review July 17, 2026 23:23
@claude

claude Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

The content from this PR was folded into #467 along with twelve other open documentation PRs. On the way in it was reconciled against the other PRs and re-verified against generaltranslation/gt and generaltranslation/gt-cloud source before merging.

A few corrections were applied here: the Google Drive section was reconciled with #383's into one, the copy-naming rule and source-locale defaults were corrected, and the per-file Source control is now documented.

#467 has now merged, so this PR is being closed as superseded rather than abandoned. The branch is left in place.


Generated by Claude Code

@claude claude Bot closed this Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant