gulp-bower-mf

Takes Bower description files and spits out the main files described in them

Usage no npm install needed!

<script type="module">
  import gulpBowerMf from 'https://cdn.skypack.dev/gulp-bower-mf';
</script>

README

gulp-bower

NPM version Build Status Dependency Status

Reads .bower.json files and pipes out the defined main files whilst obeying dependency order

Installation

Install 'gulp-bower' as a development dependency:

npm install --save-dev gulp-bower-mf

Basic Usage

var gulp = require('gulp')
var bower = require('gulp-bower-mf')

gulp.task('process-bower-files', function () {
    return gulp.src('./bower_components/**/.bower.json')
        .pipe(bower())
        .pipe(gulp.dest('./public')
})