Why do I need @cloudflare/vite-plugin for an SPA? #10468
Unanswered
waynesbrain
asked this question in
Q&A
Replies: 0 comments
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.
-
Before I integrate a new layer of code into my already byzantine React/SPA infrastructure I'd like to find out why I really need to use
@cloudflare/vite-plugin
. The features list says:vite preview
for previewing your build output in the Workers runtime prior to deployment (but I already getvite preview
to run my SPA directly from vite...)For item 3. I looked at the vite-plugin's Static Assets page and the main feature that I see is auto-configuration of asset binding. I'd much prefer to do this manually.
It looks like most of these features are for SSR and the features needed for SPA basically amount to auto-configuration of some things, which I don't like because I'd prefer explicit configuration. Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions