compile each component as AMD in same folder