ardatan / meteor-webpack

https://medium.com/@ardatan/meteor-with-webpack-in-2018-faster-compilation-better-source-handling-benefit-from-bc5ccc5735ef
MIT License
123 stars 29 forks source link

react-dom included twice? #70

Closed arichter83 closed 5 years ago

arichter83 commented 5 years ago

When I run meteor --extra-packages bundle-visualizer --production I see react-dom.production.min.js (106kb) included and an extra main.bundle.js (599kb). When I run webpack-bundle-analyzer stats.json dist I get what the main bundle (here 589kb) is made of, included is react-dom.production.min.js (103kb).

How can I find out where the duplicate comes from? Imho the meteor bundler should not include it.

arichter83 commented 5 years ago

I couldn't find duplication in the production bundle so probably it is fine.