Skip to content

Conversation

@OstafinL
Copy link
Contributor

@OstafinL OstafinL commented Jul 8, 2025

🎫 Issue IBX-10314

Related PRs:

Description:

New scripts have been added to package.json to streamline building and development of frontend assets. The scripts utilize the configName environment variable to select the desired frontend configuration.

Usage:

configName=all|ibexa|internals|libs|richtext yarn ibexa:[dev|watch|build] ( default for configName is all)

Examples:

  • To watch all configurations
    yarn ibexa:watch

  • To watch a specific configuration (e.g., internals)
    configName=internals yarn ibexa:watch

  • To build a specific configuration (e.g., richtext)
    configName=richtext yarn ibexa:build

Additional Information

The ibexa:encore:compile command has been extended to accept an additional parameter:
--frontend-config-name ibexa/admin-ui#1624.
Currently, the composer run auto-scripts command builds all configurations in separate processes.
This approach significantly reduces peak memory usage during the build process.

For QA:

Documentation:

@github-actions
Copy link

github-actions bot commented Jul 8, 2025

Thanks for contribution! 🎉

To test the changes please execute:

composer config extra.symfony.endpoint https://api.github.com/repos/ibexa/recipes-dev/contents/index.json?ref=flex/pull-200

before executing the recipes.

@OstafinL OstafinL marked this pull request as draft July 8, 2025 13:11
@OstafinL OstafinL force-pushed the webpack-memory-performance branch 2 times, most recently from 78163aa to 52d1446 Compare July 8, 2025 13:14
Base automatically changed from IBX-10173 to master July 10, 2025 08:10
@OstafinL OstafinL force-pushed the webpack-memory-performance branch 3 times, most recently from efbde32 to b357ce5 Compare July 10, 2025 13:54
@OstafinL OstafinL added the Doc needed The changes require some documentation label Jul 11, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
45.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@adamwojs adamwojs merged commit 339cbc9 into master Jul 16, 2025
1 of 2 checks passed
@adamwojs adamwojs deleted the webpack-memory-performance branch July 16, 2025 12:05
@mnocon mnocon removed the Doc needed The changes require some documentation label Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants