Closed 0x0a0d closed 2 years ago
ex: vite build --outDir some => loadEnv will be ignore because non --mode's index found move loadEnv out of transform function, so we just need to load once time
vite build --outDir some
--mode
ex:
vite build --outDir some
=> loadEnv will be ignore because non--mode
's index found move loadEnv out of transform function, so we just need to load once time