Skip to content

Conversation

@laland
Copy link
Contributor

@laland laland commented Nov 7, 2016

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • Feature

What is the current behavior?
currently we have 2 export formats: cjs (module.exports =, which is default), and "es6to5" (exports.default =, when exportAsEs6Default param is set)

What is the new behavior?
this PR changes behavior of exportAsEs6Default param to actually export ES6 default export: exports default "hello world";, and brings in another param (exportAsDefault) to export in es6to5 format: exports.default = "hello world";

Does this PR introduce a breaking change?

  • No

@jsf-clabot
Copy link

jsf-clabot commented Nov 7, 2016

CLA assistant check
All committers have signed the CLA.

@codecov-io
Copy link

codecov-io commented Nov 7, 2016

Current coverage is 96.80% (diff: 100%)

Merging #99 into master will increase coverage by 0.14%

@@             master        #99   diff @@
==========================================
  Files             2          2          
  Lines            90         94     +4   
  Methods          11         11          
  Messages          0          0          
  Branches         16         17     +1   
==========================================
+ Hits             87         91     +4   
  Misses            3          3          
  Partials          0          0          

Powered by Codecov. Last update f12aab1...fa9132e

@laland
Copy link
Contributor Author

laland commented Nov 11, 2016

@hemanth, pls take a look

@hemanth
Copy link
Contributor

hemanth commented Nov 18, 2016

Thanks!

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.

4 participants