Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension: react-router bundles its dev build into prod #93

Open
GabenGar opened this issue Jan 7, 2025 · 1 comment
Open

Extension: react-router bundles its dev build into prod #93

GabenGar opened this issue Jan 7, 2025 · 1 comment

Comments

@GabenGar
Copy link
Owner

GabenGar commented Jan 7, 2025

It was raised in its repo already and the resolution is to wait for fix upstream because it's temporary.
The bundles are pretty big though, they take up 60% of each related entry, so I guess until they resolve their deps problem it's a revert to 6.28. The routers inside extension pages are client-only anyway and they don't use any fancy v7 features so it shouldn't be hard to do.

@GabenGar
Copy link
Owner Author

GabenGar commented Jan 7, 2025

Turns out even the old version includes remix router of similar size, so the bundle size is the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant