Bug fix for disabling a "script_attributes"
Hi Webpackers!
This release contains a bug fix for the script_attributes
and link_attributes
feature introduced in v1.9.0.
Previously, you could not disable an attribute by setting it to false - for example:
webpack_encore:
script_attributes:
defer: false
Before this release, this would add a defer=""
attribute. Now it correctly will not include the attribute.
Setting an attribute to null - defer: null
- WILL include the attribute.
See #113 for more details.
Also see #112 where the new stimulus_controller()
function's "safety" was limited to HTML attributes thanks to @stof.
Diff: v1.11.0...v1.11.1
Happy packing!