Skip to content

Commit

Permalink
feat: provide appId to webpack config (#5778)
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Feb 2, 2024
1 parent 81b32bc commit e3ef37d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/services/webpack/webpack-compiler-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
{
Expand Down

0 comments on commit e3ef37d

Please sign in to comment.