Skip to content

Commit 1e8b93f

Browse files
authored
fix: pass down process environment to webpack process (#5844)
1 parent 4d184be commit 1e8b93f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/services/webpack/webpack-compiler-service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ export class WebpackCompilerService
356356
};
357357
options.env = {
358358
NATIVESCRIPT_WEBPACK_ENV: JSON.stringify(envData),
359+
...process.env,
359360
};
360361
if (this.$hostInfo.isWindows) {
361362
Object.assign(options.env, { APPDATA: process.env.appData });

0 commit comments

Comments
 (0)