Skip to content

fix(build-external-helpers): incorrect bin path#17827

Merged
JLHwung merged 4 commits intobabel:mainfrom
JLHwung:fix-build-external-helpers-path
Feb 27, 2026
Merged

fix(build-external-helpers): incorrect bin path#17827
JLHwung merged 4 commits intobabel:mainfrom
JLHwung:fix-build-external-helpers-path

Conversation

@JLHwung
Copy link
Copy Markdown
Contributor

@JLHwung JLHwung commented Feb 24, 2026

Q                       A
Fixed Issues? npx -p @babel/build-external-helpers@next babel-build-external-helpers throws babel-build-external-helpers: command not found
Patch: Bug Fix? Yes
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

@JLHwung JLHwung added the PR: Bug Fix (next major) 🐛 A type of pull request used for our changelog categories for next major release label Feb 24, 2026
"bin": {
"babel-build-external-helpers": "./bin/babel-build-external-helpers.js"
},
"bin": "./bin/babel-build-external-helpers.js",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It should be .mjs. :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You are right, we should do the same for @babel/cli as well.

@liuxingbaoyu
Copy link
Copy Markdown
Member

The fix is ​​already included in #17822. :)

@babel-bot
Copy link
Copy Markdown
Collaborator

babel-bot commented Feb 24, 2026

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/61013

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 24, 2026

Open in StackBlitz

commit: 141da4b

@JLHwung JLHwung merged commit bfb4bed into babel:main Feb 27, 2026
55 checks passed
@JLHwung JLHwung deleted the fix-build-external-helpers-path branch February 27, 2026 15:46
@nicolo-ribaudo nicolo-ribaudo added the PR: Bug Fix 🐛 A type of pull request used for our changelog categories label Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Bug Fix 🐛 A type of pull request used for our changelog categories PR: Bug Fix (next major) 🐛 A type of pull request used for our changelog categories for next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants