When building, generate only the lib in AMD/CJS/Globals