Modernizr is a library scripts and CSS can depend on, there is no need to add it on every pages.

Seems to be working.

CommentFileSizeAuthor
core-js-modernizr-dep.patch597 bytesnod_
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nod_’s picture

mcjim’s picture

Status: Needs review » Reviewed & tested by the community

This 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!

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.