Closed pablohpsilva closed 6 years ago
Probably it would @xorspark :) I can do it later (I'm still on working hours LOL)
No problem @pablohpsilva. Let us know when you get a chance. Since we don't really support webpack with the export plugin at the moment, we'd rather not merge a fix for it without at least that confirmation. We can at least test the regular script tag use case once you're set. Thanks!
@xorspark did it. It is ready for you guys :)
Thanks @pablohpsilva! I'm not seeing any regressions with the script tag use case on my end. I'll inform the team to get this merged.
Pushed an update: https://github.com/amcharts/export/commit/09ba8422ebbea8f1c4eee5061cbcff307976a62d, Thanks for your help.
I'm build an app that wraps AmChart on a web component and export it on webpack. OK, I know AmChart was not meant to be used with webpack. Pretty much everything worked fine, except for this nasty error on console:
In order to fix it, All I had to do was remove the forIn and replace it with a Object.keys. Everything is working fine now.