-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Provide an option or command to generate configuration file from modernizer
CLI tool
#1642
Comments
Hey @peterblazejewicz! I agree that the docs could be improved with an example on what a config looks like. Would you be interested in PRing a change to add it here? We actually are trying hard to avoid situations in which people might ship the entire set of detects, because it is massive and wholly unnecessary for most sites. An init command that creates en empty set of detects isn't a bad idea though! A PR would be very welcomed. If you need any guidance on where to start I would be more than happy to help! |
Ping @peterblazejewicz |
@patrickkettner |
Thanks a lot! Either way - looking forward to your contribution! On Tue, Sep 15, 2015, 12:10 PM Peter Blazejewicz notifications@github.com
|
I think the statements on the documentation page for v.3 are somehow exaggerated and contradictory:
https://modernizr.com/docs/#using-modernizr-with-javascript
When I'm ready (have installed via NPM) I need to go to website. What if I went just online but have tool installed? Or just starting user of CLI and hit the wall:
How to use Modernizr v3?
How about:
or similar sounding command option? It could just copy
lib/config-all.js
as default config to the same directory wheremodernizr.js
file is created.The Modernizr is now self-contained tool without dependency on Bower, so it somehow should be able to bootstrap itself for use (
bower init
,npm init
)Thanks!
The text was updated successfully, but these errors were encountered: