Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Force atom-babel6-transpiler to not set BABEL_ENV #961

Merged
merged 1 commit into from
Jul 22, 2017

Conversation

Arcanemagus
Copy link
Member

@Arcanemagus Arcanemagus commented Jul 21, 2017

Although we aren't utilizing BABEL_ENV, atom-babel6-transpiler was setting BABEL_ENV to undefined whenever this package was transpiled leading to other Atom packages that use that environment variable to become corrupted.

Fixes #921.

Although we aren't utilizing it, `atom-babel6-transpiler` was setting
`BABEL_ENV` to `undefined` whenever this package was transpiled leading
to other Atom packages that use that environment variable to become
corrupted.
@Arcanemagus Arcanemagus requested a review from IanVS July 21, 2017 22:30
Copy link
Member

@IanVS IanVS left a comment

Choose a reason for hiding this comment

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

Nice! This would have saved me a bunch of time today in fact, troubleshooting why eslint-plugin-import was failing, specifically eslint-import-resolver-babel-modules was crashing without a stack trace, and it turned out it was an error being thrown from babel-preset-react-app due to the undefined BABEL_ENV.

Hopefully this saves other users some headaches.

@Arcanemagus Arcanemagus merged commit 3652160 into master Jul 22, 2017
@Arcanemagus Arcanemagus deleted the arcanemagus/fix-transpile-config branch July 22, 2017 00:59
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.

2 participants