Is it possible to reach files (css/js/img) outside the gulp root folder. For e.g. I have in my projects a global folder where are located all global assets. The problem is that the gulp cant read those files.
Example structure:
global-assets
└─microsites
└─gulpfile.js
Gulp task:
gulp.task('htmlSSI', function() {
gulp.src('dev/templates/*.html')
.pipe(includer())
.pipe(gulp.dest('dist/'));
});
Template file:
<!--#include virtual="../../../../global-assets/templates/_header.html" -->
<!--#include virtual="_main-content.html" -->
<!--#include virtual="../../../../global-assets/templates/_footer.html" -->