-
-
Notifications
You must be signed in to change notification settings - Fork 955
fix(preset-mini): correct tsdown external configuration
#5031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for unocss ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this 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 fixes the external configuration in tsdown build configs for preset-mini and preset-wind3 to accurately reflect their actual dependencies. The changes ensure that build externals match the dependencies declared in each package's package.json.
- Added missing
externalconfiguration to preset-mini's tsdown config - Updated preset-wind3's external configuration to match its actual dependencies
- Removed incorrectly listed external dependencies from preset-wind3
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages-presets/preset-mini/tsdown.config.ts | Added external array with the three dependencies (@unocss/core, @unocss/rule-utils, @unocss/extractor-arbitrary-variants) |
| packages-presets/preset-wind3/tsdown.config.ts | Updated external array to match actual dependencies by removing unconfig, magic-string, and @unocss/config, and adding @unocss/preset-mini and @unocss/rule-utils |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
commit: |
close #5025