Closed haimschindler closed 11 years ago
in nodejs app.js I define:
app.get('/bundle.js', browserify('main.js', {noParse: ['jquery']}));
but noParse is being ignored
I debugged the code. I fount that in "send.js" file, in function "bundleFile" there is a call to "browserify" function but "browserify" do nothing with the second parameter given by "bundleFile"
I have changed the content of "bundleFile" to this:
var opts = { entries: [ path ], noParse: options.noParse }; return browserify(opts);
then it works. maybe more need to be changed in other places for other cases
in nodejs app.js I define:
but noParse is being ignored
I debugged the code. I fount that in "send.js" file, in function "bundleFile" there is a call to "browserify" function but "browserify" do nothing with the second parameter given by "bundleFile"
I have changed the content of "bundleFile" to this:
then it works. maybe more need to be changed in other places for other cases