Fix order in compilation for the dashboard to be minified or not.