Problem when create build with --prod and work fine in debug. Why?

When I create build with command

ionic cordova run android

the size of font is good. But when i use

ionic cordova run android --prod

I got the font size is small .
When I look on chrome console i got some CSS and font missing in second case only.

How this problem can be fixed?

Please advise


1 Like

I temporarily solve it using
add “config”: {
“ionic_purge_unused_fonts”: false

to my package.json.

Thanks @atif