Skip to content

[UX-Bundle] Expose entrypoint#21292

Open
Jibbarth wants to merge 5 commits intosymfony:6.4from
Jibbarth:assets-entrypoint
Open

[UX-Bundle] Expose entrypoint#21292
Jibbarth wants to merge 5 commits intosymfony:6.4from
Jibbarth:assets-entrypoint

Conversation

@Jibbarth
Copy link
Copy Markdown
Contributor

@Jibbarth Jibbarth commented Aug 17, 2025

Fix #20991, this PR illustrate how to expose entrypoints for an UX bundle.

The Webpack Encore part need to be double checked, I didn't find any information on it, but this is what I understood by digging the code

Note: I target 6.4 because it's compatible on it. I can change to other branch if needed

@carsonbot carsonbot added this to the 6.4 milestone Aug 17, 2025
@Jibbarth
Copy link
Copy Markdown
Contributor Author

Friendly ping @javiereguiluz ☺️

Does this answer to all of your questions in #20991 (comment) ?

@Jibbarth Jibbarth changed the title [UX] Expose entrypoint [UX-Bundle] Expose entrypoint Jan 9, 2026
"name": "@acme/feature",
"symfony": {
"entrypoints": {
"@acme/feature/entrypoint": "../node_modules/@acme/feature/entrypoint.js"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe wait for symfony/webpack-encore#1390 that would allow

"@acme/feature/entrypoint": "@acme/feature/entrypoint.js"

instead

Clarify the instructions for declaring an entrypoint in the bundle's package.json.
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.

2 participants