Skip to content

exclude not working properly #1

@thesunlover

Description

@thesunlover

Hello S.H.
Here is the case:
I want to add all files from subdir ./HTML,
but I need to skip specific extentions and files:
./HTML/scss/.scss,
"./HTML/app.appcache"
"./HTML/js/min/
.js.map"
i tried with the following config, but scss files are still in the generated cache manifest

gulp.task('manifest', function(){
    gulp.src(['./HTML/**/*'])
    .pipe(manifest({
        relativePath: "./",
        hash: true,
        preferOnline: false,
        network: ['http://*', 'https://*', '*'],
        filename: 'app.appcache',
        exclude: ['app.appcache','**/*.scss',]
     }))
    .pipe(gulp.dest("./HTML/"));
});

Thanks for support

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