{"library":"modernizr-loader","type":"library","category":null,"description":"A webpack loader that enables importing custom Modernizr builds as modules. Version 1.0.1 requires modernizr ^3.1.0 as a peer dependency. Maintained by peerigon. Unlike manual builds, this integrates seamlessly with webpack's module system, allowing feature detection to be bundled conditionally. The loader reads a .modernizrrc (JSON or JS) configuration file. Breaking change in 1.0.0: Modernizr is no longer attached to window; must import as a module. Supports webpack 1 and 2, but webpack 1 requires json-loader for JSON configs.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","modernizr","webpack","loader"],"install":[{"cmd":"npm install modernizr-loader","imports":["import Modernizr from 'modernizr';","// .modernizrrc (JSON or JS) with feature-detects and options","resolve: { alias: { modernizr$: path.resolve(__dirname, 'path/to/.modernizrrc') } }"]},{"cmd":"yarn add modernizr-loader","imports":[]},{"cmd":"pnpm add modernizr-loader","imports":[]}],"homepage":null,"github":"https://github.com/peerigon/modernizr-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/modernizr-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/modernizr-loader/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}