wiledal / gulp-include

Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools.
158 stars 68 forks source link

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

Closed mean-cj closed 5 years ago

mean-cj commented 7 years ago

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 commented 5 years ago

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.