Skip to content

feat!: rename package to @lynx-js/bundle-webpack-plugin#2314

Open
Huxpro wants to merge 1 commit intomainfrom
Huxpro/rename-pkg-bundle-webpack-plugin
Open

feat!: rename package to @lynx-js/bundle-webpack-plugin#2314
Huxpro wants to merge 1 commit intomainfrom
Huxpro/rename-pkg-bundle-webpack-plugin

Conversation

@Huxpro
Copy link
Copy Markdown
Collaborator

@Huxpro Huxpro commented Mar 6, 2026

Summary

  • Rename package @lynx-js/template-webpack-plugin to @lynx-js/bundle-webpack-plugin
  • Rename directory packages/webpack/template-webpack-plugin to packages/webpack/bundle-webpack-plugin
  • Update all dependent packages and import paths

Breaking Change

Package name changed. Since this is internal-only (per luhc228), the impact is limited.

Test plan

  • pnpm install succeeds
  • Build passes for the renamed package
  • Tests pass for the renamed package
  • All dependent packages build successfully

…pack-plugin

BREAKING CHANGE: Package renamed from @lynx-js/template-webpack-plugin
to @lynx-js/bundle-webpack-plugin to align with official terminology.
Copilot AI review requested due to automatic review settings March 6, 2026 06:14
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 6, 2026

🦋 Changeset detected

Latest commit: f6f28b4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@lynx-js/bundle-webpack-plugin Major
@lynx-js/rspeedy Patch
@lynx-js/react-webpack-plugin Major
@lynx-js/css-extract-webpack-plugin Major
@lynx-js/react-rsbuild-plugin Patch
@lynx-js/config-rsbuild-plugin Patch
create-rspeedy Patch
upgrade-rspeedy Patch
@lynx-js/react-alias-rsbuild-plugin Patch
@lynx-js/react-refresh-webpack-plugin Major

Not sure what this means? Click here to learn what changesets are.

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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 6, 2026

Important

Review skipped

Too many files!

This PR contains 228 files, which is 78 over the limit of 150.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: edeb8981-531c-4934-919a-83a7134d490c

📥 Commits

Reviewing files that changed from the base of the PR and between 0d41253 and f6f28b4.

⛔ Files ignored due to path filters (2)
  • packages/webpack/bundle-webpack-plugin/test/__snapshots__/cases.test.ts.snap is excluded by !**/*.snap
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (228)
  • .changeset/allow-debug-url-customize.md
  • .changeset/moody-snakes-study.md
  • .changeset/rename-pkg-bundle-webpack-plugin.md
  • .coderabbit.yaml
  • packages/repl/src/bundler/css-processor.ts
  • packages/rspeedy/plugin-config/package.json
  • packages/rspeedy/plugin-config/src/LynxConfigWebpackPlugin.ts
  • packages/rspeedy/plugin-config/src/pluginLynxConfig.ts
  • packages/rspeedy/plugin-config/test/cases/basic/compile-options/rspack.config.js
  • packages/rspeedy/plugin-config/test/cases/basic/override/rspack.config.js
  • packages/rspeedy/plugin-config/test/cases/basic/unknown-config/rspack.config.js
  • packages/rspeedy/plugin-react/etc/react-rsbuild-plugin.api.md
  • packages/rspeedy/plugin-react/package.json
  • packages/rspeedy/plugin-react/src/entry.ts
  • packages/rspeedy/plugin-react/src/index.ts
  • packages/rspeedy/plugin-react/src/pluginReactLynx.ts
  • packages/rspeedy/plugin-react/test/config-plugin.test.ts
  • packages/rspeedy/plugin-react/test/config.test.ts
  • packages/rspeedy/plugin-react/test/lazy.test.ts
  • packages/rspeedy/plugin-react/test/web.test.ts
  • packages/rspeedy/plugin-react/tsconfig.build.json
  • packages/rspeedy/plugin-react/tsconfig.json
  • packages/webpack/bundle-webpack-plugin/CHANGELOG.md
  • packages/webpack/bundle-webpack-plugin/README.md
  • packages/webpack/bundle-webpack-plugin/api-extractor.json
  • packages/webpack/bundle-webpack-plugin/etc/bundle-webpack-plugin.api.md
  • packages/webpack/bundle-webpack-plugin/package.json
  • packages/webpack/bundle-webpack-plugin/src/LynxAsyncChunksRuntimeModule.ts
  • packages/webpack/bundle-webpack-plugin/src/LynxEncodePlugin.ts
  • packages/webpack/bundle-webpack-plugin/src/LynxTemplatePlugin.ts
  • packages/webpack/bundle-webpack-plugin/src/WebEncodePlugin.ts
  • packages/webpack/bundle-webpack-plugin/src/index.ts
  • packages/webpack/bundle-webpack-plugin/src/polyfill/requireModuleAsync.ts
  • packages/webpack/bundle-webpack-plugin/src/web/StyleInfo.ts
  • packages/webpack/bundle-webpack-plugin/src/web/genStyleInfo.ts
  • packages/webpack/bundle-webpack-plugin/test/basic.test.ts
  • packages/webpack/bundle-webpack-plugin/test/cases.test.ts
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-before-encode/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-before-encode/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-before-encode/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-filename/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-filename/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-filename/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-production/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-production/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-public-path-auto/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-public-path-auto/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-public-path-auto/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-public-path-custom/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-public-path-custom/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info-public-path-custom/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/debug-info/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/filename-flat/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/filename-flat/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/filename-flat/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/filename-hash-8/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/filename-hash-8/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/filename-hash-8/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/filename-hash/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/filename-hash/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/filename-hash/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/lazy-bundle/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/lazy-bundle/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/lazy-bundle/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/lepus-chunk/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/lepus-chunk/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/mode-none/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/mode-none/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/mode-none/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/production/async/baz.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/production/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/production/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/production/shared/bar.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/production/shared/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/production/test.config.cjs
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/source-map/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/source-map/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/assets/source-map/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/async-chunk/dynamic.js
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/async-chunk/dynamic2.js
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/async-chunk/dynamic3.js
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/async-chunk/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/async-chunk/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/async-chunk/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/with-style/blue.css
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/with-style/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/with-style/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/with-style/red.css
  • packages/webpack/bundle-webpack-plugin/test/cases/bundle-splitting/with-style/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/async-chunk/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/async-chunk/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/async-chunk/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/context/a.json
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/context/b.json
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/context/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/context/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/a.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/b.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/c.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/d.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/e.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/shared/bar.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/shared/baz.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/shared/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/duplicated-async-chunk/test.config.cjs
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/webpack-chunk-name/bar.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/webpack-chunk-name/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/webpack-chunk-name/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/webpack-chunk-name/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/with-style/blue.css
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/with-style/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/with-style/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/with-style/red.css
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/with-style/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/code-splitting/with-style/test.config.cjs
  • packages/webpack/bundle-webpack-plugin/test/cases/defaults/compile-options/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/defaults/compile-options/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/defaults/config/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/defaults/config/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/after-emit/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/after-emit/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/after-emit/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit-filename-hash/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit-filename-hash/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit-filename-hash/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit-filename/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit-filename/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit-filename/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit-lepus/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit-lepus/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit-lepus/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-emit/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-encode-css/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-encode-css/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-encode-css/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-encode/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-encode/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/hooks/before-encode/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/external/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/external/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/external/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-fn/bar.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-fn/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-fn/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-fn/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-object/bar.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-object/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-object/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-object/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-partial/bar.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-partial/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-partial/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-partial/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-partial/test.config.cjs
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-regex/bar.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-regex/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-regex/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline-regex/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline/foo.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/inline-scripts/inline/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/main-thread/mpa/a.js
  • packages/webpack/bundle-webpack-plugin/test/cases/main-thread/mpa/b.js
  • packages/webpack/bundle-webpack-plugin/test/cases/main-thread/mpa/c.js
  • packages/webpack/bundle-webpack-plugin/test/cases/main-thread/mpa/d.js
  • packages/webpack/bundle-webpack-plugin/test/cases/main-thread/mpa/e.js
  • packages/webpack/bundle-webpack-plugin/test/cases/main-thread/mpa/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/main-thread/mpa/test.config.cjs
  • packages/webpack/bundle-webpack-plugin/test/cases/main-thread/mpa/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/runtime-module/async-chunk/dynamic.js
  • packages/webpack/bundle-webpack-plugin/test/cases/runtime-module/async-chunk/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/runtime-module/async-chunk/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/runtime-module/async-chunk/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/runtime-module/async-chunks/dynamic.js
  • packages/webpack/bundle-webpack-plugin/test/cases/runtime-module/async-chunks/dynamic2.js
  • packages/webpack/bundle-webpack-plugin/test/cases/runtime-module/async-chunks/index.js
  • packages/webpack/bundle-webpack-plugin/test/cases/runtime-module/async-chunks/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/runtime-module/async-chunks/webpack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/all-in-one/a.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/all-in-one/b.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/all-in-one/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/all-in-one/test.config.cjs
  • packages/webpack/bundle-webpack-plugin/test/cases/web/default-export/a.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/default-export/b.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/default-export/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/default-export/test.config.cjs
  • packages/webpack/bundle-webpack-plugin/test/cases/web/element-template/a.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/element-template/b.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/element-template/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/element-template/test.config.cjs
  • packages/webpack/bundle-webpack-plugin/test/cases/web/page-config/a.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/page-config/b.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/page-config/rspack.config.js
  • packages/webpack/bundle-webpack-plugin/test/cases/web/page-config/test.config.cjs
  • packages/webpack/bundle-webpack-plugin/test/fixtures/basic.tsx
  • packages/webpack/bundle-webpack-plugin/tsconfig.build.json
  • packages/webpack/bundle-webpack-plugin/tsconfig.json
  • packages/webpack/bundle-webpack-plugin/vitest.config.ts
  • packages/webpack/css-extract-webpack-plugin/etc/css-extract-webpack-plugin.api.md
  • packages/webpack/css-extract-webpack-plugin/package.json
  • packages/webpack/css-extract-webpack-plugin/src/CssExtractRspackPlugin.ts
  • packages/webpack/css-extract-webpack-plugin/test/hotCases/hot-update-json/bundle-splitting/rspack.config.js
  • packages/webpack/css-extract-webpack-plugin/test/hotCases/hot-update-json/chunk-splitting/rspack.config.js
  • packages/webpack/css-extract-webpack-plugin/test/plugins.js
  • packages/webpack/css-extract-webpack-plugin/tsconfig.build.json
  • packages/webpack/css-extract-webpack-plugin/tsconfig.json
  • packages/webpack/react-webpack-plugin/package.json
  • packages/webpack/react-webpack-plugin/src/ReactWebpackPlugin.ts
  • packages/webpack/react-webpack-plugin/src/loaders/options.ts
  • packages/webpack/react-webpack-plugin/test/cases/code-splitting/amd-runtime-lazy-bundle-production/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/code-splitting/amd-runtime-production/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/code-splitting/amd-runtime-with-source-map/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/code-splitting/amd-runtime/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/code-splitting/async-chunk-groups/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/code-splitting/async-chunk-name/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/code-splitting/background-only/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/main-thread/code-splitting/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/main-thread/entry/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/worklet-runtime/chunk/rspack.config.js
  • packages/webpack/react-webpack-plugin/test/cases/worklet-runtime/not-using/rspack.config.js
  • packages/webpack/tsconfig.json
  • website/package.json
  • website/rspress.config.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch Huxpro/rename-pkg-bundle-webpack-plugin

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

This PR performs a breaking rename of the webpack plugin package from @lynx-js/template-webpack-plugin to @lynx-js/bundle-webpack-plugin, updates internal references/dependents accordingly, and introduces/ports a substantial test suite for the renamed package.

Changes:

  • Rename package + docs/routes from template-webpack-plugin to bundle-webpack-plugin.
  • Update dependent packages (rspeedy plugins, webpack plugins, website) to import the new package name and update TS project references.
  • Add/port bundle-webpack-plugin sources and a large set of integration-style test cases.

Reviewed changes

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

Show a summary per file
File Description
website/rspress.config.ts Update docs sidebar/changelog routes to bundle-webpack-plugin.
website/package.json Swap workspace devDependency to @lynx-js/bundle-webpack-plugin.
pnpm-lock.yaml Lockfile updated to reflect rename, but also contains unrelated dependency resolution changes.
packages/webpack/tsconfig.json Update TS project reference from template plugin to bundle plugin.
packages/webpack/react-webpack-plugin/src/ReactWebpackPlugin.ts Update import to @lynx-js/bundle-webpack-plugin.
packages/webpack/react-webpack-plugin/src/loaders/options.ts Update TSDoc @inheritdoc reference to new package name.
packages/webpack/react-webpack-plugin/package.json Update devDependency + peerDependency package name.
packages/webpack/react-webpack-plugin/test/**/rspack.config.js Update test configs to import from @lynx-js/bundle-webpack-plugin.
packages/webpack/css-extract-webpack-plugin/src/CssExtractRspackPlugin.ts Update imports to @lynx-js/bundle-webpack-plugin.
packages/webpack/css-extract-webpack-plugin/package.json Update devDependency + peerDependency package name.
packages/webpack/css-extract-webpack-plugin/tsconfig*.json Update TS project references to bundle plugin.
packages/webpack/css-extract-webpack-plugin/etc/*.api.md Update API report import path to new package name.
packages/webpack/css-extract-webpack-plugin/test/** Update tests to import from @lynx-js/bundle-webpack-plugin.
packages/webpack/bundle-webpack-plugin/package.json Rename package, adjust repository directory and vitest project name.
packages/webpack/bundle-webpack-plugin/README.md Rename README header to new package name.
packages/webpack/bundle-webpack-plugin/etc/bundle-webpack-plugin.api.md Update API report header to new package name.
packages/webpack/bundle-webpack-plugin/api-extractor.json Add api-extractor config for the renamed package.
packages/webpack/bundle-webpack-plugin/src/index.ts Public entry exports for template/encode/web encode + CSS exports.
packages/webpack/bundle-webpack-plugin/src/WebEncodePlugin.ts Web template encoding logic and asset inlining/deletion behavior.
packages/webpack/bundle-webpack-plugin/src/web/* Web style info generation types + implementation.
packages/webpack/bundle-webpack-plugin/src/polyfill/requireModuleAsync.ts Add polyfill generator for caching lynx.requireModuleAsync.
packages/webpack/bundle-webpack-plugin/src/LynxAsyncChunksRuntimeModule.ts Add runtime module generator for async chunk id -> filename mapping.
packages/webpack/bundle-webpack-plugin/test/** Add/port extensive test suite + fixtures and snapshots for the renamed plugin.
packages/webpack/bundle-webpack-plugin/CHANGELOG.md Changelog carried over (but needs header/name update).
packages/rspeedy/plugin-react/src/** Update imports/references to the renamed package.
packages/rspeedy/plugin-react/test/*.ts Update tests to import from @lynx-js/bundle-webpack-plugin.
packages/rspeedy/plugin-react/package.json Depend on @lynx-js/bundle-webpack-plugin instead of template plugin.
packages/rspeedy/plugin-react/etc/*.api.md Update API report type references to new package name.
packages/rspeedy/plugin-react/tsconfig*.json Update TS project references to bundle plugin.
packages/rspeedy/plugin-config/src/** Update type import to @lynx-js/bundle-webpack-plugin.
packages/rspeedy/plugin-config/test/**/rspack.config.js Update test configs to import from @lynx-js/bundle-webpack-plugin.
packages/rspeedy/plugin-config/package.json Swap devDependency to @lynx-js/bundle-webpack-plugin.
packages/repl/src/bundler/css-processor.ts Update comment reference to new bundle plugin path.
.coderabbit.yaml Update path trigger from template plugin to bundle plugin.
.changeset/rename-pkg-bundle-webpack-plugin.md Record breaking rename changeset.
.changeset/moody-snakes-study.md Update changeset package name to @lynx-js/bundle-webpack-plugin.
.changeset/allow-debug-url-customize.md Update changeset package name to @lynx-js/bundle-webpack-plugin.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment thread pnpm-lock.yaml
Comment on lines 275 to 279
version: 3.7.0
'@rsbuild/plugin-babel':
specifier: 1.1.0
version: 1.1.0(@rsbuild/core@1.7.3)
version: 1.1.0(@rsbuild/core@2.0.0-beta.3(core-js@3.48.0))
'@types/react':
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

pnpm-lock.yaml includes dependency resolution changes unrelated to the package rename (e.g. @rsbuild/plugin-babel now resolved against @rsbuild/core@2.0.0-beta.3). For a rename-only PR, this lockfile drift makes the change set risky and hard to review; please regenerate the lockfile in a way that only captures the intended rename (or split dependency upgrades into a separate PR).

Copilot uses AI. Check for mistakes.
Comment thread pnpm-lock.yaml
Comment on lines +18030 to +18038
rsbuild-plugin-tailwindcss@0.2.4(@rsbuild/core@2.0.0-beta.3(core-js@3.48.0))(tailwindcss@3.4.19):
dependencies:
tailwindcss: 4.2.1
tailwindcss: 3.4.19
optionalDependencies:
'@rsbuild/core': 1.7.3
'@rsbuild/core': 2.0.0-beta.3(core-js@3.48.0)

rsbuild-plugin-tailwindcss@0.2.4(@rsbuild/core@2.0.0-beta.3(core-js@3.48.0))(tailwindcss@3.4.19):
rsbuild-plugin-tailwindcss@0.2.4(@rsbuild/core@2.0.0-beta.3(core-js@3.48.0))(tailwindcss@4.2.1):
dependencies:
tailwindcss: 3.4.19
tailwindcss: 4.2.1
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

This pnpm-lock.yaml hunk also flips the resolved Tailwind version for rsbuild-plugin-tailwindcss (3.4.19 vs 4.2.1), which is unrelated to the package rename and could change behavior. Please ensure the lockfile only reflects the rename (or move Tailwind/Rsbuild upgrades into a dedicated PR).

Copilot uses AI. Check for mistakes.
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 6, 2026

Merging this PR will improve performance by 44.16%

⚡ 2 improved benchmarks
✅ 70 untouched benchmarks
⏩ 3 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
basic-performance-large-css 23.1 ms 16.1 ms +44.16%
basic-performance-nest-level-100 7.4 ms 6.8 ms +9.73%

Comparing Huxpro/rename-pkg-bundle-webpack-plugin (f6f28b4) with main (c877fbd)2

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on main (0d41253) during the generation of this report, so c877fbd was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@relativeci
Copy link
Copy Markdown

relativeci bot commented Mar 6, 2026

Web Explorer

#8012 Bundle Size — 384.5KiB (0%).

f6f28b4(current) vs 0d41253 main#8009(baseline)

Bundle metrics  Change 1 change
                 Current
#8012
     Baseline
#8009
No change  Initial JS 155.59KiB 155.59KiB
No change  Initial CSS 35.1KiB 35.1KiB
Change  Cache Invalidation 0% 40.42%
No change  Chunks 8 8
No change  Assets 8 8
Change  Modules 237(-0.42%) 238
No change  Duplicate Modules 16 16
No change  Duplicate Code 2.98% 2.98%
No change  Packages 4 4
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#8012
     Baseline
#8009
No change  JS 253.55KiB 253.55KiB
No change  Other 95.85KiB 95.85KiB
No change  CSS 35.1KiB 35.1KiB

Bundle analysis reportBranch Huxpro/rename-pkg-bundle-webpack...Project dashboard


Generated by RelativeCIDocumentationReport issue

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