[Bug]: TldrawEditor component includes in its production bundle code that it shouldn't need (around 30% of its size)
### What happened?

It seems that when building an app that uses `<TldrawEditor>` component for production it includes code that shouldn't be there, like packages and modules used by `<TldrawUI>` component.

See Discord conversation: https://discord.com/channels/859816885297741824/1330926740809449554

### How can we reproduce the bug?

- Set up a simple Vite app that uses the minimum components to run Tldraw, like `<TldrawEditor initialState='draw' shapeUtils={[DrawShapeUtil]} tools={[DrawShapeTool]} />`
- Build the app with `visualizer` plugin active from 'rollup-plugin-visualizer'.
- It will show that the bundle includes code that shouldn't be needed:

![Image](https://github.com/user-attachments/assets/df90a827-8163-4ce6-83a2-d216d62d6834)

### What browsers are you seeing the problem on?

_No response_

### Where did this happen?

The developer package

### Contact Details

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct