-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
How to reduce bundle size of Plotly.js for 3D surface chart? #4891
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
Comments
@Rezakarimi66 |
@archmoj I just double checked the size of latest gl3d bundle. The minimized version which currently I am using (look here) has a size of 465kB. How did you create that file? I have used webpack and also browserify to create such bundle but not successful. |
@alexcjohnson this is interesting in terms of using |
Size of bundle is also big with browserify for me. It's 1.4MB. You could see it with running my script "borwserify-prod" (here). Webpack or browseriy or any other tool doesn't matter for me. Just trying to get the same size as yours. |
@Rezakarimi66 your fork is rather behind latest changes made to plotly.js including various module upgrades. Could you pull these changes (or on a separate repo) and then try applying your commit on top of that? |
@archmoj I updated my package.json file to the latest version ( 1.54.4 ) Nothing changed :( |
@Rezakarimi66 Line 29 in b4a4004
Namely this file could be of interest: https://github.com/plotly/plotly.js/blob/master/tasks/bundle.js |
@archmoj Thanks for your helps. I cloned and changed your code to generate my custom bundle and the result was the same. The only possible way to reduce the size is to compress with gzip. |
@Rezakarimi66 Please see #5301. |
Hi, Could someone please answer my question here. I have asked it everywhere and no one cares :(
The text was updated successfully, but these errors were encountered: