Skip to content

Fail on url(directory) #28

Closed
Closed
@NielsHolt

Description

@NielsHolt

If the url(..) is a directory the task fails
Some packages using artificial contents in css-classes to pass info to JavaScript
Eg. leaflet using
.leaflet-default-icon-path {
background-image: url(images/);
}
Proposal:
Try using grunt.file.isFile instead of grunt.file.exists to test for file existing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions