Add preprocess task and finish requirejs task