Skip to content

Instantly share code, notes, and snippets.

@rynop
Created November 30, 2018 16:08
Embed
What would you like to do?
build and deploy angular app to s3 for CloudFront
"scripts": {
...
"build:prod": "ng build --stats-json --prod --build-optimizer --delete-output-path --aot --output-path=dist",
"deploy:prod": "yarn run build:prod && gzip-all \"dist/*.{css,js,html}\" && dev-bin/deploy.sh us-east-1--prod--master--www.rynop.com"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment