Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template don't accept absolute paths #74

Open
Congelli501 opened this issue Sep 23, 2015 · 0 comments
Open

template don't accept absolute paths #74

Congelli501 opened this issue Sep 23, 2015 · 0 comments

Comments

@Congelli501
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant