drupal/core/assets/vendor/modernizr
Alex Pott 6967b53c5d
Issue #3185165 by Spokje, vipin.mittal18, Suresh Prabhu Parkala, lauriii, mherchel: Update Modernizr to latest version
(cherry picked from commit 61a07efcc7)
2021-05-03 15:24:42 +01:00
..
README.md Issue #3185165 by Spokje, vipin.mittal18, Suresh Prabhu Parkala, lauriii, mherchel: Update Modernizr to latest version 2021-05-03 15:24:42 +01:00
modernizr.min.js Issue #3185165 by Spokje, vipin.mittal18, Suresh Prabhu Parkala, lauriii, mherchel: Update Modernizr to latest version 2021-05-03 15:24:42 +01:00

README.md

For some reason the link in the core file https://modernizr.com/download/?-details-inputtypes-addtest-mq-prefixed-prefixes-setclasses-teststyles always produces a 3.6.0 version when using the Build option.

Browse to the same URL and use the Command Line Config option to Download the config JSON file modernizr-config.json.

Following the instructions here https://modernizr.com/docs

sudo npm install -g npm
npm install -g modernizr
modernizr -c modernizr-config.json // This is the file downloaded from http://modernizr.com/download

This produces a modernizr.js file that should be renamed to modernizr.min.js and copied to core/assets/vendor/modernizr/modernizr.min.js.

Please also remember to update the version number of Modernizer in core/core.libraries.yml.