Skip to content

Commit

Permalink
Missed on assignment for #1612
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Jul 2, 2024
1 parent f28ca21 commit 55e2279
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import simplePlural from "./Util/Pluralize.js";
import checkPassthroughCopyBehavior from "./Util/PassthroughCopyBehaviorCheck.js";
import eventBus from "./EventBus.js";
import { getEleventyPackageJson, getWorkingProjectPackageJson } from "./Util/ImportJsonSync.js";
import { EleventyImport } from "./Util/Require.js";
import RenderPlugin, * as RenderPluginExtras from "./Plugins/RenderPlugin.js";
import I18nPlugin, * as I18nPluginExtras from "./Plugins/I18nPlugin.js";
import HtmlBasePlugin, * as HtmlBasePluginExtras from "./Plugins/HtmlBasePlugin.js";
Expand Down Expand Up @@ -161,6 +162,8 @@ class Eleventy {
this.eleventyConfig.userConfig._setQuietModeOverride(!this.#verboseOverride);
}

this.eleventyConfig.userConfig.directories = this.directories;

/* Programmatic API config */
if (this.options.config && typeof this.options.config === "function") {
debug("Running options.config configuration callback (passed to Eleventy constructor)");
Expand Down Expand Up @@ -1350,6 +1353,7 @@ Object.assign(HtmlBasePlugin, HtmlBasePluginExtras);

export {
Eleventy,
EleventyImport as ImportFile,

/**
* @type {module:11ty/eleventy/Plugins/RenderPlugin}
Expand Down

0 comments on commit 55e2279

Please sign in to comment.