Generate UMD automatically