Use buildModuleUrl instead of require to resolve XYS files.