Skip to content

gulp-make-css-url-version when option {useDate: true} cause error #2

Description

@leonli

gulp-make-css-url-version when option {useDate: true} cause error

there's a bug in the index.js

the date.now() will cause the error, code should be changed to:

//use date as the version
            if (options.useDate) {
                return "url(" + url + "?v=" + formatDate(format, new Date()) + ")";
            }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions