DEV Community

Jurugi
Jurugi

Posted on

Quick Question - my files are building weirdly

Hello,

For some reason my project randomly now builds with a structure.
For example it used to minify everything and have names like '83749837498373.js'. Now it's actually building out like 'views-accounts-accounts-module-es5.js' into more files.
I don't believe I have 'changed' anything except maybe by accident?

I usually try to do 'ng build prod=true' but prod is no longer a command too so I just do ng build. Does anyone know without me searching a long time how to revert back to the full release mode?

Thx

Top comments (1)

Collapse
 
jurugi profile image
Jurugi

Nvm I just like forgot. It's ng build --prod and then it works. Whatever good.