https://github.com/ivoputzer/gulp-wiredep
https://github.com/ivoputzer/gulp-wiredep
gulp javascript stream wiredep
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivoputzer/gulp-wiredep
- Owner: ivoputzer
- Created: 2015-10-28T10:36:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-09T22:44:00.000Z (over 9 years ago)
- Last Synced: 2024-11-14T18:55:29.414Z (over 1 year ago)
- Topics: gulp, javascript, stream, wiredep
- Language: JavaScript
- Size: 8.79 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# gulp-wiredep
[](https://travis-ci.org/ivoputzer/gulp-wiredep) [](package.json) [](http://standardjs.com/) [](http://packagequality.com/#?package=gulp-wiredep) [](https://nodejs.org/docs/v4.0.0/api) [](https://www.npmjs.com/package/gulp-wiredep) [](https://spdx.org/licenses/MIT)
## standard usage
```javascript
const gulp = require('gulp')
const wiredep = require('gulp-wiredep')
gulp.task('bower', function () {
gulp.src('./src/footer.html')
.pipe(wiredep({
optional: 'configuration',
goes: 'here'
}))
.pipe(gulp.dest('./dest'))
})
```
## usage with plugin loader
```javascript
const gulp = require('gulp')
const plug = require('gulp-plugin-loader')
gulp.task('bower', function () {
gulp.src('./src/footer.html')
.pipe(plug.wiredep({
optional: 'configuration',
goes: 'here'
}))
.pipe(gulp.dest('./dest'))
})
```