export async function getAutoConvertPatternsFromModule(extensions) {
  const items = await Promise.all(extensions.map(manifest => {
    if (manifest.modules.autoConvert && manifest.modules.autoConvert.url) {
      return manifest.modules.autoConvert.url;
    }
    return [];
  }));
  return [].concat(...items);
}