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

Allow Relative Paths #69

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

gunderson
Copy link

This pull request adds an option to pass { relative:true } to the path object (either through the object or function methods) in order to keep the path relative to the file glob. Normally this bit is removed and renamed with gulp.dest() but when renaming and concatenating compiled JST template files, the full absolute path name is passed making the name of the template non-portable if developers set up their build environments in different locations.

This small change allows users to pass a flag that eliminates the step of re-applying the absolute path and allows the path to remain relative.

gunderson added 4 commits May 14, 2016 16:38
passing `relative === true` will prevent the finally output file from being coerced to an absolute path.
@yocontra
Copy link
Collaborator

Sorry for the extremely long wait here. How does this play in with #67 ?

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

Successfully merging this pull request may close these issues.

2 participants