D
D
Denis2016-02-11 22:30:27
gulp.js
Denis, 2016-02-11 22:30:27

Copying Bower files via Gulp?

Tell me please, do I understand correctly that the paths of the main files of the bower library are indicated in the task, which are subsequently copied to another folder?

gulp.task('bower', function () {
    return gulp.src('bower.json')
        .pipe(mainBowerFiles({
            overrides: {
                bootstrap: {
                    main: [
                        './dist/js/bootstrap.js',
                        './dist/css/*.min.*',
                        './dist/fonts/*.*'
                    ]
                }
            }
        }))
        .pipe(gulp.dest(path.dist.lib));
});

Or is the problem something else?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question