Skip to content

Conversation

@zyyv
Copy link
Member

@zyyv zyyv commented Dec 30, 2025

close #5025

Copilot AI review requested due to automatic review settings December 30, 2025 06:02
@zyyv zyyv requested a review from antfu as a code owner December 30, 2025 06:02
@netlify
Copy link

netlify bot commented Dec 30, 2025

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit 0e028b7
🔍 Latest deploy log https://app.netlify.com/projects/unocss/deploys/69536ae33893fa0008bd8643
😎 Deploy Preview https://deploy-preview-5031--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
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 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 external configuration 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.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 30, 2025

Open in StackBlitz

commit: 0e028b7

@zyyv zyyv merged commit 0107eec into main Dec 30, 2025
18 checks passed
@zyyv zyyv deleted the preset-tsdown-config branch December 30, 2025 06:17
This was referenced Jan 13, 2026
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.

Types are not bundled propertly

2 participants