Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

fix: consuming using jsnext:main fails #138

Merged
merged 1 commit into from
Jul 10, 2017
Merged

Conversation

atlanteh
Copy link
Contributor

@atlanteh atlanteh commented Jul 3, 2016

The export command is executed before the definition of defineProperty & objCreate so when consuming the src module using jsnext:main in webpack + babel, our build fails due to undefined defineProperty & objCreate. Moving the export to the bottom of the file solves the issue.

The export command is executed before the definition of  defineProperty & objCreate so when consuming the src module using jsnext:main in webpack + babel, our build fails due to undefined defineProperty & objCreate. Moving the export to the bottom of the file solves the issue.
@yahoocla
Copy link

yahoocla commented Jul 3, 2016

CLA is valid!

@jasonmit jasonmit merged commit 768a3cd into formatjs:master Jul 10, 2017
@okuryu okuryu mentioned this pull request Aug 11, 2017
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.

3 participants