Hi Andy and team!
First of all, great work implementing the "Build with ES modules". This will be a great asset for all of us moving forward.
We followed the instructions on this page to change our build to make use of ES modules. We are using Vue.js and we also found this example to be extremely helpful for our specific use case. Now we have our 4.x project building with ES modules. Yay!
My question is, how can optimize the build to only grab the specific modules we need? Currently, we are copying all the public assets, and it is over 20 MB; however, we are using very few in our project. I 3.x there was the web optimizer tool. Is there an equivalent here? We are using the build in a PWA and are trying to minimize the cache size. iOS limiting to 50 MB is really restricting.
Thanks!