fix(build): export REACT_APP variables during build

This commit is contained in:
Bastian Ike
2022-09-13 12:04:29 +02:00
committed by Bastian
parent 37c43712d1
commit 4535ef3bc3
3 changed files with 14 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ const runCommand = (command: string) =>
const executedCommand = spawn(command, {
stdio: "inherit",
shell: true,
env: { REACT_APP_RADAR_NAME: "AOE Technology Radar", ...process.env },
});
executedCommand.on("error", (error) => {