Skip to content

template don't accept absolute paths #74

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.

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