gulp-inline icon indicating copy to clipboard operation
gulp-inline copied to clipboard

Problem with non-value attributes?

Open noamyg opened this issue 4 years ago • 0 comments

I'm running this on an index.html generated by angular-cli (ng build):

let gulp = require('gulp')
let inline = require('gulp-inline')

gulp.task('inline', async function () {
    await gulp.src('dist/index.html')
    .pipe(inline({
        base: 'dist/',
        disabledTypes: 'css, svg, img'
    }))
    .pipe(gulp.dest('dist/'));
});

Some script tags are created as following: <script src="runtime-es5.1eba213af0b233498d9d.js" nomodule defer>

But the result looks like that: <script nomodule="defer="></script>

noamyg avatar May 04 '20 13:05 noamyg