make build script work on windows

This commit is contained in:
Shantur Rathore
2025-11-14 13:25:42 +00:00
parent 6fdd4947f9
commit db5bd9984e

View File

@@ -52,6 +52,7 @@ function run(command, args, options = {}) {
const spawnOptions = {
cwd: appDir,
stdio: "inherit",
shell: process.platform === "win32",
...options,
env: { ...process.env, NODE_PATH: nodeModulesPath, ...(options.env || {}) },
}