Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(preset-mini): correct tsdown external configuration#5031

Merged
zyyv merged 1 commit into
mainfrom
preset-tsdown-config
Dec 30, 2025
Merged

fix(preset-mini): correct tsdown external configuration#5031
zyyv merged 1 commit into
mainfrom
preset-tsdown-config

Conversation

@zyyv

@zyyv zyyv commented Dec 30, 2025

Copy link
Copy Markdown
Member

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

netlify Bot commented Dec 30, 2025

Copy link
Copy Markdown

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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

pkg-pr-new Bot commented Dec 30, 2025

Copy link
Copy Markdown

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 Feb 17, 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