1.0.0 • Published 10 months ago
@codedazur/cdk-sanity-site v1.0.0
SanitySite
This construct is simply a StaticSite with the addition of a CloudFront ViewerRequest Function to rewrite requests to the index.html
file, since Sanity is compiled to a single route.
new SanitySite(this, "Sanity", {
src: "../sanity/dist",
});
For more information on usage and configuration, please refer to the StaticSite
readme.