Replies: 2 comments 1 reply
-
@sergiodxa Combing through old issues, is this one still relevant? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, Is it expected ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When importing a module with the
.server
prefix they are replaced with something like this:If I import more than one server-only module and go to the browser I see the same amount of different JS files with an almost identical content (specially on prod builds) which are all being loaded in parallel.
Ideal:
If the import can't be removed at least they are replaced with a single placeholder empty module that's only loaded once and shared by all modules importing a server-only module.
Beta Was this translation helpful? Give feedback.
All reactions