diff --git a/lib/services/webpack/webpack-compiler-service.ts b/lib/services/webpack/webpack-compiler-service.ts index 4590fbc895..205aa8faea 100644 --- a/lib/services/webpack/webpack-compiler-service.ts +++ b/lib/services/webpack/webpack-compiler-service.ts @@ -361,11 +361,13 @@ export class WebpackCompilerService const { env } = prepareData; const envData = Object.assign({}, env, { [platform.toLowerCase()]: true }); + const appId = projectData.projectIdentifiers[platform]; const appPath = projectData.getAppDirectoryRelativePath(); const appResourcesPath = projectData.getAppResourcesRelativeDirectoryPath(); Object.assign( envData, + appId && { appId }, appPath && { appPath }, appResourcesPath && { appResourcesPath }, {