Answer the question
In order to leave comments, you need to log in
What is the best way to include bower dependencies via gulp-browserify?
At the moment I know two options with:
1) debowerify
2) browserify-shim
Disadvantages:
debowerify - does not read overrides from bower.json, there is a fork that fixes this, but still
browserify-shim - you need to manually write paths
Is there any other any way to include dependencies from bower? How do you do it in your projects?
Answer the question
In order to leave comments, you need to log in
This is not quite an answer in essence, but a tip: if you install dependencies through npm, then all the problems come down to not typing in the call require('jquery')
:) browserify is still sharpened for use with npm (and bower is better friends with requirejs).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question