chore(rsbuild-plugin): migrate to rslib bundleless#4351
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 82200a71b0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| bundle: false, | ||
| outBase: 'src', |
There was a problem hiding this comment.
Preserve package.json access for bundleless build
Switching to bundle: false means the build will no longer inline non-code assets like package.json. The entry module (src/cli/index.ts) imports ../../package.json, which will resolve to dist/package.json at runtime after this change, but the output config only copies LICENSE into dist, so consumers importing the package will hit a module-not-found error when that import executes. Consider copying package.json into dist or changing the code to read the package metadata via createRequire/fs from the package root.
Useful? React with 👍 / 👎.
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Bundle Size Report1 package(s) changed, 37 unchanged.
Total dist: 6.39 MB (+16.0 kB (+0.2%)) |
raven-actions/actionlint@v2 runs npm install internally which fails on pnpm workspace repos due to workspace:* protocol. Switch to direct binary download which has no npm dependency. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…ore into rslib/rsbuild-plugin
Per-package rslib bundleless migration for rsbuild-plugin.