Please use a more modern and better build method for `Modernizr`: https://github.com/webpack-contrib/val-loader#modernizr