Massive breakthrough, I'm very fond of this project and I've been using it since I discovered it circa 2014 when the only alternatives where RequireJS and browserify.
I was so committed to JSPM until 5 minutes ago when I visited StealJS.
It's like someone described to me a software that automates what took me dozens of hours to define.
I'm using RequireJS in my main project, in production. The latest modules have the es6 module syntax, so I'm transpiling them via requirejs-babel.
I've iterated to replace RequireJS with Alameda and now Cajon, but those three are from the same author so those are just drop-in replacements.
For the new projects and the develop branches, I'm using jspm and I'm loving it. However, you can't just use SystemJS as a drop-in replacement for RequireJS if you use loader plugins.
About webpack... I guess I didn't learn it on time and it might get superseeded by jspm and rollup, so I guess I'll pass. Same goes for browserify.
At first I was like
http://i.imgur.com/mfp7ts8.gifv
But then I tried an SVG and it actually worked. Currently, to export a C3 generated chart to PNG I have to
- get svgData using XMLSerializer().serializeToString
- create canvas
- fill canvas with svgData processed with canvg.js
- create new image
- set image's src attribute with canvas.toDataURL
- set image's download attribute and simulate a click on it
Perhaps this can prove useful to simplify my workflow.