Skip to content

customTests not working with Modernizr v3 #22

Open
@joelambert

Description

@joelambert

I don't seem to be able to get the customTests option to be able to work.

TypeError: Cannot read property 'replace' of undefined
    at /Users/joelambert/Projects/Misc/primer-rareloop/node_modules/grunt-modernizr/node_modules/customizr/node_modules/modernizr/lib/build-query.js:22:22

I've had a bit of a look and it seems that the v3 version of Modernizr expects all tests to be from the core repository. Might it be better for Customizr to append the contents of files in the customTests array to the file produced by the Modernizr build script rather than trying to pass them through?

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