I've updated my codebase from Angular 11 to 12 recently, and after that, I just can't deploy my code. I can run ng build
and ng serve
and it works flawlessly, however, when I run ng build --prod
I keep getting the following error, probably because of optimizations (minify) made for prod version:
The file D:\Code\Airbox\frontend\styles.670357240e7c04682d1d.css:9031:1
does not exist, it's apparently created by the deploy script but I can't see or access it. I've tried to remove comments and imports from my global css file, but the problem keeps happening.
I couldn't find any solution for it across the internet, and I have no clue of what is going on or how I could find a work around.
deploy
script command? – Zig