gulp-inline-source
gulp-inline-source copied to clipboard
illegal operation on a directory, read
When trying to use:
.src([
'./dist/**/index.html'
])
.pipe(inlinesource())
.pipe(gulp.dest('./dist/'));
It fails.
.src([
'./dist/analytics/index.html'
])
.pipe(inlinesource())
.pipe(gulp.dest('./dist/'));
Fails also.
The following works:
.src([
'./dist/index.html'
])
.pipe(inlinesource())
.pipe(gulp.dest('./dist/'));
But I need to inline the code in the analytics folder also.
Error message:
Message: EISDIR: illegal operation on a directory, read Details: errno: -4068 syscall: read code: EISDIR domainEmitter: [object Object] domainThrown: false