Highlights
A couple of optimizations made to the StaticSite
:
- when you
sst deploy
and the site hasn’t changed, SST will skip uploading the files to S3 and invalidating CloudFront cache. This will save you a couple of minutes per deploy when you are just working on your backend. - when you
sst start
, SST will deploy a placeholder site, and will not re-deploy on changes. This is to ensuresst start
always start up quickly. And it’s assumed that you have your website running locally when you are working on it.
🚀 Enhancement
- #493 StaticSite: generate deploy id based on content hash (@fwang)
- #491 StaticSite: skip building on sst start (@fwang)
- #481 App: add account property (@fwang)
🐛 Bug Fix
📝 Documentation
Update using:
$ npm install --save --save-exact @serverless-stack/cli@0.29.3 @serverless-stack/resources@0.29.3