packagist symfony/webpack-encore-bundle v1.11.1
Bug fix for disabling a "script_attributes"

latest releases: 2.x-dev, v2.1.1, v2.1.0...
3 years ago

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!

Don't miss a new webpack-encore-bundle release

NewReleases is sending notifications on new releases.