Skip to content

Commit

Permalink
One more fix for 11ty/eleventy-plugin-rss#52
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Jun 27, 2024
1 parent 8643447 commit 6c760ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/UserConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
};
Expand Down

0 comments on commit 6c760ad

Please sign in to comment.