Angular-cli defining filenames for production environment
1 answer
I think you can.
-
use standard names like inline.bundle.js vendor.bundle.js, main.bundle.js, this permission is in dev mode, but if you want to have names in prod mode. In your case
ng build -prod
you can use the following flag to avoid hashing
ng build -prod --output-hashing none
more details https://github.com/angular/angular-cli/wiki/build
+6
source to share