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.
My structure.
I want to
require()bower modules inmyapp.js. How do I go about this?Also,
.bowerrcsets the bower_componets path tosubdir/bower_compoents/Gulp/Grunt or anything else is not being used.
browserifycomand line tool is directly used to build the pack.