Yes the bundle is huge, we have made no effort yet to optimize it. Feel free to create a PR :)
Here is how we manage cell dependencies https://github.com/quadratichq/quadratic/blob/main/src/grid/...
Here is how we manage cell dependencies https://github.com/quadratichq/quadratic/blob/main/src/grid/...