wasp
wasp copied to clipboard
Build time validation for client env
This replaces build-time env validation validate-env.mjs
script (removed in #2362) with a simple Vite plugin. It removes the dotenv
dep requirement and uses the same Zod schema that the runtime validation uses.
This enables us to fail faster in the terminal vs. in the browser console: