Skip to content

Gulp "options" vs Grunt "extra" … parity? #15

@mysterycommand

Description

@mysterycommand

I've used grunt-modernizr before, but on my current project we're using Gulp, and I'd like to use this project to the same end. However, the configuration looks different to me and the README on customizr isn't helping too much. On customizr the configuration options look like:

{
  options: [
    'setClasses',
    'addTest',
    'html5printshiv',
    'testProp',
    'fnBind'
  ]
}

… but I'm not sure how (or if) these options map to Modernizr's "Extra" section. It was a little clearer with grunt-modernizr:

{
  extra: {
    shiv: true,
    printshiv: false,
    load: true,
    mq: false,
    cssclasses: true
  }
}

… I had a configuration I liked in grunt-modernizr. What's the easiest way to re-create that configuration with the Gulp version? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions