microscopic-florist-2271906/23/2018, 5:41 PM
big-soccer-7585906/23/2018, 11:30 PM
microscopic-florist-2271906/24/2018, 2:31 AM
white-balloon-20506/24/2018, 4:48 AM
automatically. If you are not seeing that - would be great if you could open an issue with details of your example so that we can investigate. Note that if packages are not getting included, you can explicitly include them using e.g.
. See https://github.com/pulumi/pulumi-cloud/blob/master/aws/config/index.ts#L42 for a few details on this config setting.
pulumi config set cloud-aws:functionIncludePackages express
big-soccer-7585906/24/2018, 12:10 PM
it actually packages the
const jwt = await import('jsonwebtoken');
module rather than the actual
module. Note that
is in my devDependencies
and changing the line to
fixed the build but obviously the library becomes an
const jwt = require('jsonwebtoken');
which is a bit annoying but I can deal with it.
white-balloon-20506/24/2018, 2:11 PM
big-soccer-7585906/24/2018, 2:14 PM