We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENV: OSX 10.11.6 WebPack: 4.8.3 Modernizr: 3.6.0 Modernizr-Loader: 1.0.1
.modernizrrc
{ "minify": true, "options": [ "domPrefixes", "hasEvent", "testAllProps", "testProp", "html5shiv", "setClasses" ], "feature-detects": [ "contenteditable", "customelements", "customevent", "history", "indexeddb", "indexeddbblob", "serviceworker", "flexbox", "fetch", "localstorage", "sessionstorage", "svgasimg", "inlinesvg" ] }
webpack.config.js
resolve: { alias: { modernizr$: path.resolve(__dirname, "../.modernizrrc") }, } module: { rules: [ { test: /\.modernizrrc$/, use: [ 'modernizr-loader', 'json-loader' ] }, ] }
Webpack appears to be correctly parsing its config and .modernizrrc but throws the following:
Any ideas what I am doing wrong? Thank you very much in advance!
The text was updated successfully, but these errors were encountered:
@chrisalexander55, please use https://modernizr.com/download to make a proper config file. Mind feature-detects section here:
feature-detects
{ "minify": false, "options": [], "feature-detects": [ "test/custom-elements", "test/websockets", "test/css/flexbox", "test/es6/promises", "test/network/beacon", "test/webrtc/getusermedia", "test/webrtc/peerconnection" ] }
Sorry, something went wrong.
No branches or pull requests
ENV: OSX 10.11.6
WebPack: 4.8.3
Modernizr: 3.6.0
Modernizr-Loader: 1.0.1
.modernizrrc
webpack.config.js
Webpack appears to be correctly parsing its config and .modernizrrc but throws the following:
Any ideas what I am doing wrong? Thank you very much in advance!
The text was updated successfully, but these errors were encountered: