mtyson
mtyson

Reputation: 8550

Auto-wire bower dependencies with gulp?

Anyone aware of plugins for gulp that will auto-wire bower dependencies?

I'd like to find plugins that handle both standard script tags, and require.js syntax.

This is exactly like the plugins for grunt:

grunt-wiredep

Inject your Bower components right into your HTML using Grunt.

grunt-bower-requirejs

Automagically wire-up installed Bower components into your RequireJS config.

(From the bower website: http://bower.io/docs/tools/)

Or if not, any suggestions for the best way to achieve this?

Upvotes: 2

Views: 559

Answers (1)

Magzoa
Magzoa

Reputation: 11

https://www.npmjs.com/package/wiredep

Directory content automatic dependecies for bower.

Use node command line:

require('wiredep')({src:['prueba.html']})

Upvotes: 1

Related Questions