Closed colbyr closed 8 years ago
possibly a fix for #14
I think using a regular common JS export will still work the same with ES6 imports and work as expected with normal common js imports.
Haven't gotten to give it a try with ES6 imports yet but I figured I'd put it up.
cc @andrewdavey @jazzdan
Hey @colbyr, good point. But I wish to have export default and module.exports in parallel, because it is not same, I think. I may be wrong. can you point me to something related?
export default
module.exports
possibly a fix for #14
I think using a regular common JS export will still work the same with ES6 imports and work as expected with normal common js imports.
Haven't gotten to give it a try with ES6 imports yet but I figured I'd put it up.
cc @andrewdavey @jazzdan