-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
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
how to expose css-classes of features to html? #14
Comments
Have you a added |
For others who land here and not so familiar with Modernizr (like myself), here is a sample how to set this
I got this information from the Grunt config of the Modernizr's builder page. |
Adding |
To follow up from @jarodtaylor, adding the setClasses string within the options property array in the configuration object does not add any classes to the root html element of the application. |
Adding In webpack config:
|
The standard Modernizr.js sets css classes to html for all the features supported, like
touch
. This lib does not.Is there a way to configure this?
The text was updated successfully, but these errors were encountered: