Client bundle size #122
Unanswered
thomasverleye
asked this question in
Q&A
Replies: 1 comment
-
Most likely you’re seeing a mixed bundle with client and server code, I also see remix-i18next server.js file. Ensure you’re using the source maps of the client build and not the server build, if you still get it try to raise an issue with i18next itself. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've noticed in pagespeed that the bundle size of my
entry.client-XXXX.js
was 300KB.When using bundle-wizard for analyzation with sourcemaps enabled, I've noticed something odd.
The script does contain i18next, but it seems to be loading
cjs
ANDesm
, which both has a size of ~56KB.Now I do know this seems like this is something for the i18next lib but I just wanted to check if anyone else here had any issues with this as well.
Here are all modules I'm using on my current setup:
Beta Was this translation helpful? Give feedback.
All reactions