eon-chart
eon-chart copied to clipboard
New webpack export will break eon-chart builder because flaten function was removed
Here is the original flatten function:
https://github.com/pubnub/eon-chart/blob/3cc2cf07d4cc3a4cc6d392d471d3ca0bcb28af00/src/pubnub-c3.js#L464
This may be helpful: https://github.com/webpack/webpack/tree/master/examples/multi-part-library
It's also possible to bundle the flatten code within the builder example. It's not important for the normal library.