Skip to content

Problem with non-value attributes? #55

Description

@noamyg

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions