Frank
lib
directory where the stack files are kept. In v0.35.0, you can tell SST to look elsewhere by supplying the path in `sst.json`:
{
"name": "my-sst-app",
"stage": "dev",
"region": "us-east-1",
"main": "infra/index.js"
}
A big shoutout to @geekmidas for making this happen!
📢 Update 2
@Erik Mikkelson extended the esbuild plugin support to SST code. So if you need to use emitDecoratorMetadata
in your SST code, you can supply an esbuild config file in `sst.json`:
{
"name": "my-sst-app",
"stage": "dev",
"region": "us-east-1",
esbuildConfig: "esbuild-config.js"
}
📢 Update 3
Added Application Load Balancer integration for sst.Api
. You can now point an Api route to your ALB listener:
new Api(this, "Api", {
routes: {
"GET /hello": "src/lambda.main",
"GET /world": { albListener },
},
});
More details on ALB integration here - https://docs.serverless-stack.com/constructs/Api#apialbroutepropsLuca Demmel
07/21/2021, 2:09 PMErik Mikkelson
07/21/2021, 4:43 PMErik Mikkelson
07/21/2021, 4:46 PMFrank