Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update env usage for new conventions in Vite 4
There were a couple of improvements in the updated version of Vite around decoupling build modes and NODE_ENV: * vitejs/vite#10996 * vitejs/vite#11045 Accordingly, this change: * Consistently uses import.meta.env.MODE to set build mode specific values vs relying on the (previous) behavior around how import.meta.env.PROD was set. * Adds a development environment file so NODE_ENV is set to development for this builds.
- Loading branch information