Hi @kevinkreuzer

Thanks for your article. But I was not able to reproduce your analysis about the webpack bundles.

I cloned your github repo https://github.com/kreuzerk/dinosaur-icons/tree/feature/optimizeForLazyLoading

I didn't modify the code but installed the webpack-bundle-analyzer package to dev dependencies.

The icons were bundled into the main-es2015.***.js, which means the lazy loading is not working. Could you try again to see if this is the case?

Thank you.

Senior Application Developer. MBA. I write blogs about .NET, Angular, JavaScript/TypeScript, Docker, AWS, DDD, and many others.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store