Skip to content

Commit d7041a8

Browse files
committed
fix: regression fix
1 parent 36ce380 commit d7041a8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,10 @@ export class WebpackCompilerService
354354
cwd: projectData.projectDir,
355355
stdio,
356356
};
357-
options.env = {
357+
358+
options.env = Object.assign(process.env, {
358359
NATIVESCRIPT_WEBPACK_ENV:JSON.stringify(envData)
359-
}
360+
});
360361
if (this.$options.hostProjectPath) {
361362
Object.assign(options.env, {
362363
USER_PROJECT_PLATFORMS_ANDROID: this.$options.hostProjectPath,

0 commit comments

Comments
 (0)