#Can I disable code-splitting in RR 7 in framework mode?

1 messages · Page 1 of 1 (latest)

surreal frigate
#

I posted this question about disabling code-splitting in React Router 7 in framework-mode a couple days ago and I was curious if nobody had a similar question? https://github.com/remix-run/react-router/discussions/12713

Basically, because we package the entire web-app with a native application (similar to how electron does it) I don't see much of an advantage in code splitting and it complicates the packaging and embedding of the web app into our app quite a bit.

So I was wondering if anybody found a way to disable code-splitting, or has an idea how to achieve this?

I guess I could re-concatenate the split files somehow? That does not seem ideal.

GitHub

We are using react router in a web view in a native application and bundle all files with that application. With the release of React Router 7 we are trying to adopt the framework features, but for...

dim slate
surreal frigate
#

Oh thanks that seems to be the right place to look!