Skip to content

chore(core): remove unused Babel dependencies - #2634

Merged
fengmk2 merged 3 commits into
voidzero-dev:mainfrom
jong-kyung:chore/remove-unused-core-babel-deps
Sep 10, 2026
Merged

chore(core): remove unused Babel dependencies#2634
fengmk2 merged 3 commits into
voidzero-dev:mainfrom
jong-kyung:chore/remove-unused-core-babel-deps

Conversation

@jong-kyung

Copy link
Copy Markdown
Collaborator

Summary

Core no longer needs direct dependencies on @babel/generator, @babel/parser, or @babel/types because the current rolldown-plugin-dts uses yuku-parser and yuku-codegen instead.

These packages originally covered runtime requirements from rolldown-plugin-dts bundled into tsdown. They later moved to devDependencies when build-cjs-deps.ts began bundling those CJS dependencies into core's output.

This removes the leftover declarations without changing CJS bundling. Upstream Vite retains its own @babel/parser dependency, and other consumers retain their transitive Babel dependencies.

Related: #396

rolldown-plugin-dts now uses yuku-parser and yuku-codegen, so core no
longer needs direct Babel dependencies. Keep upstream Vite's own parser
dependency intact.
@jong-kyung jong-kyung self-assigned this Sep 9, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T04:43:12.231788Z a61ab5e PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jong-kyung
jong-kyung requested a review from fengmk2 September 9, 2026 04:39
@fengmk2 fengmk2 added test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: create-e2e Run `vp create` e2e tests test: sfw labels Sep 9, 2026
@fengmk2
fengmk2 merged commit 3fcce3f into voidzero-dev:main Sep 10, 2026
108 checks passed
@jong-kyung
jong-kyung deleted the chore/remove-unused-core-babel-deps branch September 10, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: sfw

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants