Split dev/dist template task to output differently.