Skip to content

expose debug as default export #212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from Aug 14, 2015
Merged

expose debug as default export #212

merged 1 commit into from Aug 14, 2015

Conversation

ghost
Copy link

@ghost ghost commented Aug 1, 2015

  • Similar to tj/co
  • Allow to re-export debug from another module in ES6

Without this fix, it is troublesome to re-export debug from a module. Basically, the following will not compile / debug will not be correctly exported as it should:

// my utilities
export myLog () {}
export * from "debug" // just re-export debug 
...

+ Similar to tj/co/blob/master/index.js
+ Allow to re-export debug from another module in ES6
TooTallNate added a commit that referenced this pull request Aug 14, 2015
expose debug as default export
@TooTallNate TooTallNate merged commit a3b5ba8 into debug-js:master Aug 14, 2015
@ghost
Copy link
Author

ghost commented Aug 14, 2015

Thanks

@101100
Copy link

101100 commented Apr 13, 2016

Any plans to release this on npm soon?

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

Successfully merging this pull request may close these issues.

2 participants