From 6c760adbe03dceee92bef5eb4de42d1620f5da4a Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Thu, 27 Jun 2024 11:45:58 -0500 Subject: [PATCH] One more fix for https://github.com/11ty/eleventy-plugin-rss/issues/52 --- src/UserConfig.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/UserConfig.js b/src/UserConfig.js index ac6e92fd4..98b7fd0f7 100644 --- a/src/UserConfig.js +++ b/src/UserConfig.js @@ -422,14 +422,14 @@ class UserConfig { } } - async resolvePlugin(name) { + resolvePlugin(name) { let filenameLookup = { "@11ty/eleventy/html-base-plugin": HtmlBasePlugin, "@11ty/eleventy/render-plugin": RenderPlugin, "@11ty/eleventy/inputpath-to-url-plugin": InputPathToUrlPlugin, - // requires async (`await resolvePlugin("@11ty/eleventy/i18n-plugin")`) - // to avoid preloading i18n dependencies. + // Async plugins: + // requires e.g. `await resolvePlugin("@11ty/eleventy/i18n-plugin")` to avoid preloading i18n dependencies. // see https://github.com/11ty/eleventy-plugin-rss/issues/52 "@11ty/eleventy/i18n-plugin": "./Plugins/I18nPlugin.js", };