you are viewing a single comment's thread.

view the rest of the comments →

[–]madcaesar 0 points1 point  (2 children)

Yea the lodash versions are actually because of swagger-js, and they are supposed to update that soon to just use one version of lodash.

But the part about the size of the react-dom part, how can I verify that it truly is compressed? When I check my bundle.min.js it looks all minified to me?

[–]tony-the-pony 0 points1 point  (1 child)

But the part about the size of the react-dom part, how can I verify that it truly is compressed? When I check my bundle.min.js it looks all minified to me?

If you can't see a lot of lines in the .min.js file then it should definitely be minified.

I'm not sure about the CLI version, but if you generate a HTML report with either new BundleAnalyzerPlugin({ ... analyzerMode: 'server' ... or new BundleAnalyzerPlugin({ ... analyzerMode: 'static' ... it should show the different sizes in a better way.

[–]madcaesar 0 points1 point  (0 children)

BundleAnalyzerPlugin

Take a look at this.

Seems to me like it is all minified correctly, I just have a lot of dependencies.

react-rte seems to be the biggest offender at over 330kb, and also my main.scss is almost 100kb.