mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Let Browserify continue on missing optional dependencies (#201)
This commit is contained in:
parent
e1b850b761
commit
a00a6baef8
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user