@codedazur/cdk-sanity-site
v1.0.0
Published
This construct is simply a [StaticSite](https://github.com/codedazur/toolkit/tree/main/packages/cdk-static-site#readme) with the addition of a CloudFront ViewerRequest Function to rewrite requests to the `index.html` file, since Sanity is compiled to a si
Downloads
418
Maintainers
Keywords
Readme
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.