Let Browserify continue on missing optional dependencies (#201)

This commit is contained in:
Joost Farla 2015-10-10 11:20:33 +02:00
parent e1b850b761
commit a00a6baef8

View File

@ -614,6 +614,7 @@ Packager.prototype._browserifyBundle = Promise.method(function() {
browserField: false, // Setup for node app (copy logic of --node in bin/args.js)
builtins: false,
commondir: false,
ignoreMissing: true, // Do not fail on missing optional dependencies
detectGlobals: true, // Default for bare in cli is true, but we don't care if its slower
insertGlobalVars: { // Handle process https://github.com/substack/node-browserify/issues/1277
//__filename: insertGlobals.vars.__filename,