feat(ui): Add rsdoctor support and fix build:analyze#7616
Conversation
- Add @rsdoctor/rspack-plugin for build analysis - Add build:rsdoctor script for convenient rsdoctor usage - Fix build:analyze to only build single variant (avoids port conflict) - Support RSDOCTOR=true/brief env var for analysis mode
🦋 Changeset detectedLatest commit: 19296c4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types 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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThe UI package was updated to add a dev dependency for the Rsdoctor rspack plugin, introduce two build scripts ( 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
Summary
@rsdoctor/rspack-pluginfor build analysis (matching clerk-js setup)build:rsdoctorscript for convenient rsdoctor usagebuild:analyzeto only build single variant (avoids port conflict when running bundle analyzer)RSDOCTOR=true/briefenv var for analysis modeFixes: USER-4303
Fixes: USER-4304
Fixes: USER-4305
Usage
Test plan
pnpm build:analyzeworks and opens bundle analyzerpnpm build:rsdoctorworks and opens rsdoctor UIRSDOCTOR=brief pnpm build:umdoutputs analysis to consolepnpm build:umdstill works without rsdoctorSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.