There was an error while loading. Please reload this page.
1 parent 8449d6b commit 91eab28Copy full SHA for 91eab28
lib/services/webpack/webpack-compiler-service.ts
@@ -355,7 +355,10 @@ export class WebpackCompilerService
355
stdio,
356
};
357
options.env = {
358
-NATIVESCRIPT_WEBPACK_ENV:JSON.stringify(envData)
+NATIVESCRIPT_WEBPACK_ENV: JSON.stringify(envData),
359
+};
360
+if (this.$hostInfo.isWindows) {
361
+Object.assign(options.env, { APPDATA: process.env.appData });
362
}
363
if (this.$options.hostProjectPath) {
364
Object.assign(options.env, {
0 commit comments