Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Modernizr is a library scripts and CSS can depend on, there is no need to add it on every pages.
Seems to be working.
Comment | File | Size | Author |
---|---|---|---|
core-js-modernizr-dep.patch | 597 bytes | nod_ | |
Comments
Comment #1
nod_tag
Comment #2
mcjim CreditAttribution: mcjim commentedThis applies and works as expected.
Modernizr is not loaded until called for (currently only by contextual module: this works).
So, no scripts loaded for anonymous users on a clean install! Win!
Comment #3
catchCommitted/pushed to 8.x, thanks!