You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In last version, I didn't want my scripts to have "defer" attribute, as I was using old jquery calls inside my rendered page.
But the defer attribute is added even when you set defer to false in config file (webpack_encore.yaml) script_attributes: defer: false
As a workaround, I had to create a subscriber event to RenderAssetTagEvent to remove the attribute defer if its value is equal to false.
Sorry if I am unclear, but english is not my native language.
The text was updated successfully, but these errors were encountered:
In last version, I didn't want my scripts to have "defer" attribute, as I was using old jquery calls inside my rendered page.
But the defer attribute is added even when you set defer to false in config file (webpack_encore.yaml)
script_attributes: defer: false
As a workaround, I had to create a subscriber event to RenderAssetTagEvent to remove the attribute defer if its value is equal to false.
Sorry if I am unclear, but english is not my native language.
The text was updated successfully, but these errors were encountered: