Allow global transforms with grunt browserify
问题 I've added jQuery as a script tag in my html file and have added it to package.json for working with browserify-shim as follows: "browserify": { "transform": [ "browserify-shim" ] }, "browserify-shim": { "jquery": "global:jQuery" }, I'm able to expose it in my main script file with a simple require('jquery') call. The problem is that I'm using some jQuery plugins which internally do a require('jquery') and since browserify transforms don't apply to dependency of dependencies, it's causing