Skip to content

Instantly share code, notes, and snippets.

Created November 30, 2018 16:08
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/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment