Static site with custom headers built using AWS S3, CloudFront, and Lambda@Edge
npm i
- install dependencies
npm start
- start dev server using parcel-bundler
http://localhost:1234/index.html
http://localhost:1234/error.html
npm run build
- bundle app using parcel-bundler
npm run publish
- copy bundle to AWS S3 bucket and update lambda code