Repository navigation
Replies: 1 comment
|
With CLOUDFLARE_ENV=staging npm run dev -- --port 4412 --strictPortThe name I checked this locally with Vite 8.3.8,
The second row used no For other flags, the Wrangler migration guide maps the local server settings to Vite. Cloudflare environment selection has the mode and env-file examples. |
Uh oh!
There was an error while loading. Please reload this page.
How do I set
--port--envand other dev flags using the vite plugin https://www.npmjs.com/package/@cloudflare/vite-pluginAll reactions