Fixing a bug in gulp compilation