Skip to content

Conversation

@lukeed
Copy link
Member

@lukeed lukeed commented May 27, 2017

For whatever reason (Babel internals, I assume), passing exclude:[] made (1) Babel ignore babelrc:false and (2) prevented the env preset from resolving/determining what plugins & presets it had to work with.

This core of the fix is only removing the exclude setting. Moving babelrc was mostly an aesthetic thing, I guess.

Closes #9

@developit
Copy link
Member

Perfect, I had planned to test this out today (I'd been bit by this exact issue before). Sweet!

Copy link
Member

@developit developit left a comment

Choose a reason for hiding this comment

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

A++

@developit developit merged commit 056e19d into master May 29, 2017
@lukeed lukeed deleted the babel-config branch May 29, 2017 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Couldn't find preset "es2015" relative to directory

3 participants