modernizr

Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.

webpack-modernizr-loader

Get your modernizr build bundled with webpack, use modernizr with webpack easily