Sam Hulick
02/21/2022, 11:17 PM/some/path/**/*
in that function’s zipFrank
bundle.copyFiles
Here’s an example https://docs.serverless-stack.com/constructs/Function#configure-bundlingSam Hulick
02/21/2022, 11:20 PMFrank
Sam Hulick
02/21/2022, 11:20 PMinputDir
and outputDir
?Frank
Frank
srcPath
to: where to save them inside Lambda zipSam Hulick
02/21/2022, 11:23 PMbeforeBundling: (inputDir, outputDir) => {
Sam Hulick
02/21/2022, 11:26 PMcommandHooks
at all, it requires all three to be definedSam Hulick
02/21/2022, 11:28 PMoutputDir
is the assets folder. inputDir
apparently is just the current folder.. or project rootRoberto Novelo
02/22/2022, 12:32 AMSam Hulick
02/22/2022, 12:51 AMFrank
commandHooks
take bash commands, if u reference TS files, they aren’t auto compiled.