tminglei / browserify-bower

A browserify plugin, to enable you use bower components just like node modules
MIT License
20 stars 3 forks source link

How to use without Grunt/Gulp #1

Open owais opened 9 years ago

owais commented 9 years ago

My structure.

/project/package.json
/project/bower.json
/project/.bowerrc

/project/node_modules/
/project/subdir/bower_components/

/project/subdir/app/myapp.js

I want to require() bower modules in myapp.js. How do I go about this?

Also, .bowerrc sets the bower_componets path to subdir/bower_compoents/

Gulp/Grunt or anything else is not being used. browserify comand line tool is directly used to build the pack.

owais commented 9 years ago

@tminglei ?

tminglei commented 9 years ago

@owais sorry, just saw it.

I haven't thought about it. Will check and support it ASAP.

tminglei commented 9 years ago

Hi @owais just added command line support, and released v0.4.0. pls help check.