Skip to content

Why qwik-speak works fine in dev mode but doesn't work in production? #86

Closed Answered by robisim74
LuisJoseSanchez asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it works because you are building the app, but with --mode ssr it's running in dev mode! Please avoid this!

There must be another reason: can you carefully verify that - when you switched to runtimeAssets, you didn't leave testimonials also in the assets somewhere else? Verify that the assets of the configuration do not contain testimonials, and neither the assets of the Speak components (by the way: only one Speak component per page is sufficient)

Also check that the same keys are not in other assets file.

Indeed, everything that is in assets, in production is not serialized, and is inlined via Inline plugin, except the runtimeAssets.

Let me know.

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by LuisJoseSanchez
Comment options

You must be logged in to vote
1 reply
@robisim74
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants