chore: revert back environment variable prefixes to VITE_

This commit is contained in:
Andrew Bastin
2023-08-18 19:14:15 +05:30
parent 1c35ea6e65
commit e1cbe6e003
20 changed files with 87 additions and 78 deletions

View File

@@ -35,7 +35,7 @@ function runChildProcessWithPrefix(command, args, prefix) {
}
const envFileContent = Object.entries(process.env)
.filter(([env]) => env.startsWith("APP_"))
.filter(([env]) => env.startsWith("VITE_"))
.map(([env, val]) => `${env}=${
(val.startsWith("\"") && val.endsWith("\""))
? val