New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add --config-file option to CLI to pass in .babelrc location #6133

Merged
merged 1 commit into from Aug 22, 2017

Conversation

Projects
None yet
4 participants
@bdwain
Contributor

bdwain commented Aug 18, 2017

7.0 version of #6125

Q                       A
Fixed Issues Fixes #5689
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature? 👍
Tests Added/Pass? 👍
Spec Compliancy?
License MIT
Doc PR
Any Dependency Changes?

This Fixes #5689 by adding the --config-file option in the CLI. Now you can point babel to any .babelrc file when running it with the CLI.

@xtuc

xtuc approved these changes Aug 21, 2017

lgtm, thanks

Nice first contribution 👍

@bdwain

This comment has been minimized.

Contributor

bdwain commented Aug 21, 2017

thanks!

@jridgewell jridgewell merged commit 63baaa7 into babel:7.0 Aug 22, 2017

3 checks passed

ci/circleci Your tests passed on CircleCI!
Details
codecov/project 86.09% (target 80%)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@bodtx

This comment has been minimized.

bodtx commented Jun 27, 2018

@bdwain This feature seems to be disabled if a .babelrc exists in the root directory
Gitlab-api is currently not generating es5 correctly because of this

@xtuc

This comment has been minimized.

Member

xtuc commented Jun 28, 2018

It seems that we are missing documentation on this option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment