[BUGFIX] Fix the replacement of thr optimized requireJS build in the deploy tasks