Web build's Js chunks are way too heavy

Hello,

I am building the web version of my mobile app and I am running into a huge size issue. When I run expo build:web, the bundled js chunk files, 2.xxxx.chunk.js and app.xxxx.chunk.js, weight respectively 1.7mb and 1mb, which seems to be way too much.

For reference, I built the previous version of this website using ReactJS without expo, and the same two files were at about 466kb and 849kb. When opening that version in production, the Network tab showed these chunks as less than 300kb each.

Is there anything I can do to reduce the size of these files?

This is on Expo sdk 39.