-
-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Description
There are a few legit use-cases for wanting to use the encore_entry_script_tags() functions, but pass a custom attribute:
integrityattributepreload,async, etc
Another attribute, in theory, would be adding data- attribute on your script tag. But, that doesn't make sense with encore_entry_script_tags(), because this could render multiple script tags.
I think the main use-cases then are the ones in the list above. And, these might be best integrated (especially integrity) with some global option. I'd like to get use-case feedback and use that to motivate how this is designed.
raress96, alexismarquis, darrylhein, mperonnet, yesdevnull and 30 morePabloKowalczyk, domideimel, WesleySmits and floy-dev
Metadata
Metadata
Assignees
Labels
No labels