Git Product home page Git Product logo

Comments (6)

rejas avatar rejas commented on May 26, 2024 1

Further looking into it, it does work, the config has to be

    {
        "options": ["setClasses"],
        "tests": [
            [
                "cssgrid",
                "cssgridlegacy"
            ]
        ],
    }

though. Can you confirm @markkes ?

from gulp-modernizr.

rejas avatar rejas commented on May 26, 2024

hi @daronjones not sure what you mean: do you really want to have a build based on an old version (2.X9 of modernizr? because this plugin here will always build with the latest Modernizr version (which is currently 3.6). I have no plans whatsoever on supporting building old modernirz for obvious security and matainance reasons.

from gulp-modernizr.

markkes avatar markkes commented on May 26, 2024

@rejas It might be that @daronjones has the same issue as i have.

I cant seem to get the grid support to work using the "tests" option. It is working via the feature detection scanning the JS files. But when i add it to the gulp function via the "tests" option it ignores it. I just want to add it as an extra test running and adding it to the modenizr build. Can you reproduce this issue?

from gulp-modernizr.

rejas avatar rejas commented on May 26, 2024

I can but a) it seems to only concern tests that have an array of properties (like cssgrid, but not something like svg) and b) is rooted in customizr (which I thought was fixed already via Modernizr/customizr#44)

from gulp-modernizr.

markkes avatar markkes commented on May 26, 2024

@rejas Works, thanks for the quick reply and solution!

from gulp-modernizr.

rejas avatar rejas commented on May 26, 2024

@markkes good to hear that. updated the readme with an example on how to include tests like that for grids.

from gulp-modernizr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.