gulp-inline-source
gulp-inline-source copied to clipboard
Inline flagged js & css sources.
Hi, thanks for your plugin. It's really good. That would be nice if we could write our scripts at the gulpfile.js without external file. Very useful for some apps that...
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())...
Bumps the inline-source dep to support pre handlers. **feat(tests): remove throws when trying to compress non-ES5 syntax test** this test fails in the current released version and it should fail...
Hi, My code are ES6+ based, this plugin will throw an error even I just use `let`. Please consider supporting ES6+. Thx
Gulp v4 version has no effect
Should this work to inline external image assets? Skimming the docs and past issues I think it should. My markup: ```html ``` The error I get: ``` essage: ENOENT: no...
If the sources do contain a file with a one-line content (no newline at the end) you'll get an error that a file cannot be opened. # Example Content of...
Just for test removed everything except inline source. Was working very well few weeks ago, now I can't my project((( Here is my code: gulp.task('inlinesource', function () { return gulp.src('./app/create-full.html')...
``` 'use strict'; const gulp = require('gulp'); const inline = require('gulp-inline-source'); gulp.task('inline', () => { return gulp.src('dist/**/*.html') .pipe(inline({ compress: false })) .pipe(gulp.dest('dist')); }); ``` Throws an error when finding file...
Is there a way to use this plugin with ES6 / ES2015 ? So basically in the example in https://github.com/fmal/gulp-inline-source/blob/master/README.md I need to import other node style JS files in...