Skip to content

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

Draft
LingyuCoder wants to merge 111 commits intomainfrom
codex/docs-rspack-2-0-blog
Draft

docs(blog): add Rspack 2.0 release posts#13703
LingyuCoder wants to merge 111 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: 79b52d1
Status: ✅  Deploy successful!
Preview URL: https://76a9825d.rspack-v2.pages.dev
Branch Preview URL: https://codex-docs-rspack-2-0-blog.rspack-v2.pages.dev

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.
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.

9 participants