Use buildModuleUrl instead of require.toUrl.