I have an Angular 14 project with plotly.js-dist-min 2.27.1 defined in package.json. The minified version should have 3.6 MB, but when I run webpack-bundle-analyzer with prod build, it shows plotly.js-dist-min to be 6 MB. This is consistent also with the size of the whole prod build being 16 MB. I was previously using Plotly 1.58.4 directly included as js asset and I did not have that issue. (the scripts 3.32 MB is just plotly). Continue reading...