ForbesLindesay / browserify-middleware

express middleware for browserify, done right
http://browserify.org
MIT License
381 stars 66 forks source link

Add option 'bundleExternal' #48

Closed afbobak closed 9 years ago

afbobak commented 10 years ago

Browserify generates a package identifier for require statements if a packaged module is in the same project and defined as external at the same time, this makes the require() fail with unknown package identifiers because it's bundled in a different file with a different identifier.

Setting bundleExternal to false fixes the problem.

afbobak commented 9 years ago

not relevant to this version anymore