InfoBubble is not a constructor
jacobwise opened this issue · comments
I kept getting a
InfoBubble is not a constructor
error in NPM environment.
To fix, I added module.exports = InfoBubble
at the bottom of the infobubble.js file.
Thanks so much! However, editing node modules is not my favorite way of solving a problem... Is there a way I can import (using es6) the InfoBubble
member without it being explicitly exported in the infobubble.js
file?