andrewdavey / immutable-devtools

Chrome Dev Tools custom formatter for Immutable-js values
BSD 3-Clause "New" or "Revised" License
661 stars 29 forks source link

use a regular module.exports in index #15

Closed colbyr closed 8 years ago

colbyr commented 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

langpavel commented 8 years ago

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?