Created
November 30, 2018 16:08
-
-
Save rynop/17394ad1cd03ad8ae181dc5a1855d5cb to your computer and use it in GitHub Desktop.
build and deploy angular app to s3 for CloudFront
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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