We using cocos2d-js 3.14.1
We have preload scene after which switching game - in debug mode everything works smooth , we getting preload and after game is loaded.
But when we compile with flag
strange things starts happening, like when switching preload scene to game scene -> background color starting to blink - transition color doesn’t match what is configured in code (it is to light).
After that on game over state when we show Game Over screen - colors on it also get wrong. So it happens only after we minified JS with -m release command.
How we can find what goes with this minifying stuff, maybe there is some issue in core which wrongly minifying code.