Add support for excluding UMD modules