Fix post build script

This commit is contained in:
Joseph Garrone
2024-06-10 09:12:24 +02:00
parent 84c774503d
commit b0f602b565
2 changed files with 14 additions and 2 deletions

View File

@ -90,7 +90,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
}
child_process.execSync("npx vite", {
cwd: resourcesDirPath,
cwd: buildContext.projectDirPath,
env: {
...process.env,
[vitePluginSubScriptEnvNames.runPostBuildScript]: