css-sprite icon indicating copy to clipboard operation
css-sprite copied to clipboard

template don't accept absolute paths

Open Congelli501 opened this issue 9 years ago • 0 comments

I went from [email protected] to [email protected], 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.

Congelli501 avatar Sep 23 '15 15:09 Congelli501