reddit / node-api-client

MIT License
90 stars 30 forks source link

Fix bad export statements #158

Closed phil303 closed 8 years ago

phil303 commented 8 years ago

Problem: This seems to have been unearthed when webpack 2 got updated. Things that were not default exported were being imported as such.

Fix: For ApiResponse, make it a non-default import and adjust all imports accordingly. For the HiddenPostsAndComments collection, make it the default. This clears up the warnings in the build step.

:eyeglasses: @nramadas || @uzi

uzi commented 8 years ago

:fish: