Skip to content

docs(blog): add Rspack 2.0 release posts#13703

Open
LingyuCoder wants to merge 124 commits intomainfrom
codex/docs-rspack-2-0-blog
Open

docs(blog): add Rspack 2.0 release posts#13703
LingyuCoder wants to merge 124 commits intomainfrom
codex/docs-rspack-2-0-blog

Conversation

@LingyuCoder
Copy link
Copy Markdown
Contributor

@LingyuCoder LingyuCoder commented Apr 14, 2026

Summary

  • add Chinese and English Rspack 2.0 release blog posts under website/docs/*/blog
  • update blog indexes and _meta.json entries so the new posts appear in both locales
  • refine the posts with doc links, code samples, and a release-note style aligned with existing announcing posts

@github-actions github-actions Bot added release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack. labels Apr 14, 2026
@LingyuCoder LingyuCoder force-pushed the codex/docs-rspack-2-0-blog branch from 1c6b969 to 143ccf7 Compare April 14, 2026 08:14
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 14, 2026

Deploying rspack with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0bfde51
Status:🚫  Build failed.

View logs

@github-actions
Copy link
Copy Markdown
Contributor

Rsdoctor Bundle Diff Analysis

⚠️ Note: The latest commit (817208df9c) does not have baseline artifacts. Using commit edb82110da for baseline comparison instead. If this seems incorrect, please wait a few minutes and try rerunning the workflow.

Found 6 projects in monorepo, 0 projects with changes.

📊 Quick Summary
Project Total Size Change
popular-libs 1.7 MB 0
react-10k 5.7 MB 0
react-1k 826.2 KB 0
react-5k 2.7 MB 0
ui-components 5.0 MB 0
rome 984.1 KB 0

Generated by Rsdoctor GitHub Action

Comment thread website/docs/en/blog/announcing-2-0.mdx Outdated
LingyuCoder and others added 14 commits April 15, 2026 20:28
Flesh out the two Rspack 2.0 blog sections previously marked with
owner handles, using details cross-checked against the source and
existing docs:

- Better ESM output: trace the pipeline from the experimental
  EsmLibraryPlugin in 1.6 to its stabilization behind
  output.library.type: 'modern-module' in 2.0, describe what the
  modern-module path takes over (scope hoisting, ESM chunk
  rendering/linking, cross-chunk module dedup, preserveModules),
  and list the defaults it implies.
- splitChunks.enforceSizeThreshold: specify which limits are
  bypassed (maxAsyncRequests, maxInitialRequests, minRemainingSize),
  document the default values (50000 in production, 30000 otherwise),
  and cover per-type object form plus cache-group-level usage.
Flesh out the resolveImport note with details cross-checked against
the CSS parser source and module.parser docs:

- Note that the option applies to css, css/auto, and css/module.
- Document the three value forms (true/false/function) and what each
  does to the @import statement (inlined vs. preserved verbatim).
- Describe the full callback context (url, resourcePath, media,
  supports, layer), not just url.
- Replace the placeholder url.includes('style.css') example with a
  realistic "skip remote stylesheets, inline local ones" predicate.
@chenjiahan chenjiahan marked this pull request as ready for review April 21, 2026 14:08
Copilot AI review requested due to automatic review settings April 21, 2026 14:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the Rspack 2.0 release announcement blog posts (EN/ZH) and updates related docs/indexing so they show up in the site and cross-reference the latest ecosystem resources.

Changes:

  • Add new “Announcing Rspack 2.0” blog posts for English and Chinese locales.
  • Update blog indexes (_meta.json) and refresh a few related doc links (RSC examples, Angular Rspack reference) + a small Module Federation note.
  • Minor website polish: default blog author avatar asset + spellchecker word list updates.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
website/project-words.txt Adds new proper nouns (“vize”, “xmcp”) to the project dictionary for docs/blog spelling checks.
website/hooks/useBlogPages.tsx Updates the default blog author avatar URL used in blog listings.
website/docs/zh/guide/tech/rsc.mdx Updates the RSC examples link target.
website/docs/zh/guide/start/ecosystem.mdx Updates Angular Rspack link to Nx documentation.
website/docs/zh/guide/features/module-federation.mdx Adds a short note about shared dependency tree shaking in Rspack 2.0.
website/docs/zh/blog/announcing-2-0.mdx Adds the Chinese Rspack 2.0 release announcement post.
website/docs/zh/blog/announcing-1-2.mdx Updates Angular Rspack link to Nx documentation.
website/docs/zh/blog/_meta.json Inserts the new 2.0 post into the Chinese blog index ordering.
website/docs/en/guide/tech/rsc.mdx Updates the RSC examples link target.
website/docs/en/guide/start/ecosystem.mdx Updates Angular Rspack link to Nx documentation.
website/docs/en/guide/features/module-federation.mdx Adds a short note about shared dependency tree shaking in Rspack 2.0.
website/docs/en/blog/announcing-2-0.mdx Adds the English Rspack 2.0 release announcement post.
website/docs/en/blog/announcing-1-2.mdx Updates Angular Rspack link to Nx documentation.
website/docs/en/blog/_meta.json Inserts the new 2.0 post into the English blog index ordering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread website/docs/zh/guide/tech/rsc.mdx Outdated
Comment thread website/docs/en/guide/tech/rsc.mdx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants