Skip to content
This repository was archived by the owner on Mar 10, 2023. It is now read-only.

Improve babel config lookup and test coverage #12

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

unconfident
Copy link

This is a follow up for #11.

Most notable changes:

  • .babelrc has higher priority than package.json
  • Doesn't throw if package.json is missing
  • Top level directory correctly detected on Windows
  • Support for situations when babel plugin isn't listed in config (Treating the same as Error handling for .babelrc #8, but differently)
  • Support for plugin name shorthand in babel config
  • 100% test coverage

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant