Skip to content

template don't accept absolute paths #74

@Congelli501

Description

@Congelli501

I went from css-sprite@0.9.8 to sprity@1.0.7, and with the new version absolute path to the mustache template don't work anymore.

If I use:
{
template: '/absolute/path/category.less.template'
}

Then, sprity tries to find the template in `/absolute/path/category.less.template', and the build fails.

If the path begins with a "/", then the cwd should not be prepended to the path.

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