Skip to content

fix: sync default_extensions to babel-cli usage#13508

Merged
JLHwung merged 1 commit intobabel:mainfrom
JLHwung:sync-default-extensions-to-cli-help
Jun 25, 2021
Merged

fix: sync default_extensions to babel-cli usage#13508
JLHwung merged 1 commit intobabel:mainfrom
JLHwung:sync-default-extensions-to-cli-help

Conversation

@JLHwung
Copy link
Copy Markdown
Contributor

@JLHwung JLHwung commented Jun 24, 2021

Q                       A
License MIT

Found this issue when searching docs about the --extension option. The updated usage in this PR, as of @babel/core 7.14, is

  -x, --extensions [extensions]               List of extensions to compile when a directory has been the input.
                                              [.js,.jsx,.es6,.es,.mjs,.cjs]

@JLHwung JLHwung added PR: Polish 💅 A type of pull request used for our changelog categories pkg: cli labels Jun 24, 2021
@babel-bot
Copy link
Copy Markdown
Collaborator

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

@codesandbox-ci
Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b643347:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@JLHwung JLHwung merged commit 90d5eb7 into babel:main Jun 25, 2021
@JLHwung JLHwung deleted the sync-default-extensions-to-cli-help branch June 25, 2021 11:58
nicolo-ribaudo pushed a commit to nicolo-ribaudo/babel that referenced this pull request Jul 30, 2021
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Sep 25, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: cli PR: Polish 💅 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants