[✨] How to use Qwik with @vitejs/plugin-legacy to load legacy bundles? #123
khromov
started this conversation in
Proposals For Qwik
Replies: 2 comments
-
|
Is there any update on this issue? I am facing the same problem, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
We moved this issue to |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
I'd like to add
@vitejs/plugin-legacyto my Qwik project. While adding@vitejs/plugin-legacyis possible and legacy bundles are being built, the code to load them is not correctly injected into the HTML on the SSR side. It's already well described in this older issue, where it's said that "you can inject scripts in the header", but I don't understand how we can inject the required extra JS required to load legacy bundles, is it possible to add documentation for this?Describe the solution you'd like
A guide that shows how to integrate it properly so legacy chunks are referenced.
Describe alternatives you've considered
Not supporting older browsers.
Additional context
Beta Was this translation helpful? Give feedback.
All reactions