-
Notifications
You must be signed in to change notification settings - Fork 2
IBX-11652: Optimize compilation approach for frontend assets #243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -162,7 +162,10 @@ | |||||||||||
| "yarn ibexa-generate-tsconfig --use-relative-paths": "script", | ||||||||||||
| "ibexa:encore:compile --config-name app": "symfony-cmd", | ||||||||||||
| "bazinga:js-translation:dump %PUBLIC_DIR%/assets --merge-domains": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name ibexa,internals,libs,richtext": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name ibexa": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name internals": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name libs": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name richtext": "symfony-cmd", | ||||||||||||
|
Comment on lines
+165
to
+168
|
||||||||||||
| "ibexa:encore:compile --frontend-configs-name ibexa": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name internals": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name libs": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name richtext": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name ibexa --frontend-configs-name internals --frontend-configs-name libs --frontend-configs-name richtext": "symfony-cmd", |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -143,7 +143,10 @@ | |||||||||||
| "yarn ibexa-generate-tsconfig --use-relative-paths": "script", | ||||||||||||
| "ibexa:encore:compile --config-name app": "symfony-cmd", | ||||||||||||
| "bazinga:js-translation:dump %PUBLIC_DIR%/assets --merge-domains": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name ibexa,internals,libs,richtext": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name ibexa": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name internals": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name libs": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name richtext": "symfony-cmd", | ||||||||||||
|
Comment on lines
+146
to
+149
|
||||||||||||
| "ibexa:encore:compile --frontend-configs-name ibexa": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name internals": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name libs": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name richtext": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name ibexa --frontend-configs-name internals --frontend-configs-name libs --frontend-configs-name richtext": "symfony-cmd", |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -94,7 +94,10 @@ | |||||||||||
| "yarn ibexa-generate-tsconfig --use-relative-paths": "script", | ||||||||||||
| "ibexa:encore:compile --config-name app": "symfony-cmd", | ||||||||||||
| "bazinga:js-translation:dump %PUBLIC_DIR%/assets --merge-domains": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name ibexa,internals,libs,richtext": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name ibexa": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name internals": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name libs": "symfony-cmd", | ||||||||||||
| "ibexa:encore:compile --frontend-configs-name richtext": "symfony-cmd", | ||||||||||||
|
Comment on lines
+97
to
+100
|
||||||||||||
| "ibexa:encore:compile --frontend-configs-name ibexa": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name internals": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name libs": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name richtext": "symfony-cmd", | |
| "ibexa:encore:compile --frontend-configs-name ibexa --frontend-configs-name internals --frontend-configs-name libs --frontend-configs-name richtext": "symfony-cmd", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This replaces one multi-config
ibexa:encore:compilecommand with four separate commands. Since Composer runs these auto-scripts sequentially, this will usually increase total build time due to repeated Symfony console bootstrap and repeated compilation setup work. If the intent is improved caching or incremental builds, consider consolidating into a single invocation (if supported) or explain why multiple invocations are required.