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

Bundle growing strangely #1738

Open
WillRy opened this issue Nov 30, 2023 · 0 comments
Open

Bundle growing strangely #1738

WillRy opened this issue Nov 30, 2023 · 0 comments

Comments

@WillRy
Copy link

WillRy commented Nov 30, 2023

Version:

  • @inertiajs/vue3 version: 1.0.6

Describe the problem:

With each new page created, the app.js bundle increases even using code splitting. With 33 pages created, it is enough to increase 30kb in app.js. I believe that in large applications this will generate scalability problems, in a short time it will exceed 500kb in app.js

Is this a bug? Or is this normal behavior due to the fact that app.js has mapping for importing pages and their other dependencies?

In my application there was a 30kb difference between having 1 page or 33 pages.

Thanks for everything, sorry for any English mistakes, it's not my native language

Steps to reproduce:

Configure code splitting and create new pages with multiple components inside

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