Skip to content

chore(core): expose pluginutils export types - #2364

Open
jong-kyung wants to merge 2 commits into
voidzero-dev:mainfrom
jong-kyung:chore/pluginutils-export-types
Open

chore(core): expose pluginutils export types#2364
jong-kyung wants to merge 2 commits into
voidzero-dev:mainfrom
jong-kyung:chore/pluginutils-export-types

Conversation

@jong-kyung

@jong-kyung jong-kyung commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Follow-up PR to #2358.

That PR taught the sync tool to apply the .mjs declaration mapping to pluginutils exports, but only changed the tool itself. This PR commits the regenerated packages/core/package.json, so the ./rolldown/pluginutils
and ./rolldown/pluginutils/filter exports regain their explicit types conditions.

The types conditions were originally present but were dropped in #1646 when upstream @rolldown/pluginutils moved from .js to .mjs, because the transformer at the time only mapped .js declarations. Type resolution
still worked in the meantime through TypeScript's adjacent-file lookup, since index.d.mts ships next to index.mjs in dist/pluginutils, so this restores the explicit mapping rather than changing runtime behavior.

Follow-up PR to voidzero-dev#2358: commit the regenerated package.json so the
`./rolldown/pluginutils` exports regain their `types` conditions,
which were dropped in voidzero-dev#1646 when upstream moved to `.mjs`.
@netlify

netlify Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 19a2f15
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a74850d1e56520008ea4b72

@jong-kyung jong-kyung self-assigned this Aug 6, 2026
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1828941d3d

ℹ️ 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".

Comment thread packages/core/package.json
@jong-kyung
jong-kyung requested a review from fengmk2 August 6, 2026 12:48
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.

1 participant