| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
✅ Deploy Preview for viteplus-preview canceled.
|
Sorry, something went wrong.
Co-authored-by: GPT-5 Codex <codex@openai.com>
| Back | FazBrowse Home | New Git URL |
Motivation
Running vp build directly defaults NODE_ENV to "production", but running the same build through vp run build or vpr build received JavaScript null from the Vite Task environment client. Vite assigned that value to process.env.NODE_ENV, which Node coerced to "null", producing import.meta.env.DEV=true and PROD=false in production builds.
Fixes #2047.
Changes