ardatan/meteor-webpack

react-dom included twice?

Closed this issue · 1 comments

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.

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