Skip to content

Conversation

yimingjfe
Copy link
Member

@yimingjfe yimingjfe commented Sep 18, 2025

Summary

This PR mainly optimizes Document and SSG in the following ways:

  1. Compile ⁠Document.tsx using Rspack, ensuring that ⁠Document.tsx and the project code are compiled by the same bundler.

  2. Simplify SSG implementation logic by directly calling functions to trigger SSG rendering during build time, instead of sending requests.

  3. Enhance SSG's data fetching and dynamic routing capabilities.

  4. Add the ssgByEntries configuration for entries.

Related Links

Checklist

  • I have added changeset via pnpm run change.
  • I have updated the documentation.
  • I have added tests to cover my changes.

Copy link

changeset-bot bot commented Sep 18, 2025

⚠️ No Changeset found

Latest commit: 3c8c876

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@yimingjfe yimingjfe closed this Sep 18, 2025
@yimingjfe yimingjfe reopened this Sep 18, 2025
clChenLiang
clChenLiang previously approved these changes Sep 23, 2025
@yimingjfe yimingjfe enabled auto-merge (squash) September 24, 2025 07:49
@yimingjfe yimingjfe merged commit 62ad8a5 into web-infra-dev:main Sep 24, 2025
9 checks passed
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.

2 participants