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

start with ./ auto include file from absolute path #76

Closed
wants to merge 1 commit into from

Conversation

mean-cj
Copy link

@mean-cj mean-cj commented Dec 16, 2016

if require or include inner script
when i start with "./" i wan't to auto include file from absolute path,

Example.
//= require ./resources/script/test.js

output
/home/username/domains/domain.com/public_html/resources/script/test.js

your option includePath is not support with this string "./"

if require or include inner script
when i start with "./" i wan't to auto include file from absolute path,

Example.
//= require ./resources/script/test.js

output
/home/username/domains/domain.com/public_html/resources/script/test.js

your option includePath is not support with this string "./"
@KenEucker
Copy link
Collaborator

If I'm understanding correctly, this is to support ./ for relative paths instead of /. I'm not sure why this is needed, as the relativeBasePath is set from the filepath being processed. I'm going to close this PR for now.

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.

None yet

2 participants