Skip to content

TypeError: Parameter 'url' must be a string, not undefined #6

@raza2022

Description

@raza2022

with css links it works fine, but with js is give me error:
TypeError: Parameter 'url' must be a string, not undefined
here is my code for js
gulp.task('copy-js', function() {
gulp.src('./src/*.html')
.pipe(ghtmlSrc())
// From this point, it's as if you'd used gulp.src() listing each of your
// javascript files that are in your html as <script src="..."></script>
.pipe(uglify())
.pipe(gulp.dest('./build/'));

});

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