'How to move bundles generated with ng serve of Angular Application?
I need to move files of bundles generated with ng serve (not ng build!), of Angular Application, into specific directory.
The bundles generated with ng serve are:
vendor.js
polyfills.js
styles.css
styles.js
main.js
runtime.js
I would like to move these files into directory:
<directory>/vendor.js
<directory>/polyfills.js
<directory>/styles.css
<directory>/styles.js
<directory>/main.js
<directory>/runtime.js
Is it possible?
Solution 1:[1]
I don't think you can do that anymore - see https://github.com/angular/angular-cli/issues/1962#issuecomment-247509283.
But maybe fileReplacements might help you: https://angular.io/guide/build#configure-target-specific-file-replacements
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
