How to modify/extend a new Angular CLI 1.6 (and later) project so after running ng build --prod
we also generate a ZIP archive of the production website?
I want it to be an integral part of the CLI build process, if possible, and not a custom external solution (which I'm currently using).
I have tried using java cmd and it working:
let run:
jar -cMf target.zip dist
or:
jar -cMf target.zip *
read more in here: Java creating .jar file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With