Fix: Fix the resource ordering to components first, then app; Minify JS and CSS for release builds