Skip to content
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

[AssetMapper] Allow to define entrypoint in importmap.php #1026

Open
wants to merge 2 commits into
base: 2.x
Choose a base branch
from

Conversation

Jibbarth
Copy link

Hello 👋

I wanted that one of my package to be able to define an asset as entrypoint inside importmap.php to be allow call importmap('@mypackage/entry.js') inside a template of the package.

I made a naive modification, not sure if it was the purpose of the [symfony][entrypoints] node of the package.json.

Maybe it would be fit directly inside the [symfony][importmap] node.

WDYT ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant