Skip to content

Adding 3 ways to control link/script attributes

Compare
Choose a tag to compare
@weaverryan weaverryan released this 15 Jan 17:00
· 127 commits to main since this release

Hi Webpackers!

This release contains a long-asked-for feature: the ability to control the attributes on the script and link tags generated by this bundle. There are 3 ways to control them: (A) globally via config, (B) when using the Twig functions or (C) via an event listener. See the docs for more details: https://github.com/symfony/webpack-encore-bundle#custom-attributes-on-script-and-link-tags

Diff: v1.8.0...v1.9.0

Happy packing!