-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minimum d3js import list #2407
Comments
these works for me, it will reduce d3 size by around 50% |
I am very interested in a custom build of C3, importing only necessary D3 modules for our use-case. However: I could not get it to work properly in a Rollup/ES6 imports project. Any working examples/tips on how to build a custom version of C3 (slimming down the considerable size) would be appreciated! It seems a much-requested feature but I could not find any working examples. |
How do you translate the above to config? Does anyone have an example? |
Hello,
what is the minimum d3js requirement for c3 ?
I would like to produce a minimal build for d3.js with stuff like :
import {scaleLinear} from "d3-scale";
From the doc of D3 : "D3 is written using ES2015 modules ..." https://github.com/d3/d3
so if anyone has the list, could be great.
I am currently building a Vuejs application with webpack and with the vue wrapper around C3 : https://github.com/chryb/vue-c3 .
My bundle size is big just for one little graph, that's why my question.
The text was updated successfully, but these errors were encountered: