Scenario:
When I try to import the library in a esnext based project, I get a compatibility issue like the below:
webpack/webpack#4039 (comment)
So, for this, I changed from module.exports = Timeline to export default Timeline; and everything works perfectly.
Is there any other work around for this apart from what I did? Please suggest.
Scenario:
When I try to import the library in a esnext based project, I get a compatibility issue like the below:
webpack/webpack#4039 (comment)
So, for this, I changed from
module.exports = Timelinetoexport default Timeline;and everything works perfectly.Is there any other work around for this apart from what I did? Please suggest.