Sam Hulick
08/01/2021, 11:35 PMSam Hulick
08/02/2021, 12:53 AMesbuildConfig
is the way to go here, to add esbuild plugins. https://docs.serverless-stack.com/installation#project-config
this raises a similar question: does SST itself support plugins? any way we can hook into the deploy process with before
or after
hooks?Frank
esbuildConfig
. As for SST itself, you can set commandHooks
to hook into before/after bundling for each function - https://docs.serverless-stack.com/constructs/Function#commandhooksSam Hulick
08/10/2021, 2:50 AMyarn deploy
then whatever_script
😄 but just wondering, anywayFrank
Frank
whatever_script
, what does it do? Does it need to call AWS services? Does it need to call something inside VPC that you don’t have access to locally?Sam Hulick
08/10/2021, 5:02 PMsentry-cli
call. no big deal, I currently have that in a shell script with my other projectsFrank