diff --git a/package.json b/package.json index b5fbf2e50..cb383659d 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,13 @@ "type": "module", "main": "./src/Eleventy.js", "exports": { - "import": "./src/Eleventy.js", - "require": "./src/EleventyCommonJs.cjs" + ".": { + "import": "./src/Eleventy.js", + "require": "./src/EleventyCommonJs.cjs" + }, + "./UserConfig": { + "types": "./src/UserConfig.js" + } }, "bin": { "eleventy": "cmd.cjs" diff --git a/src/Eleventy.js b/src/Eleventy.js index 72d1a9836..9d19e7e7a 100644 --- a/src/Eleventy.js +++ b/src/Eleventy.js @@ -48,9 +48,6 @@ const debug = debugUtil("Eleventy"); /** * Eleventy’s programmatic API * @module 11ty/eleventy/Eleventy - * - * This line is required for IDE autocomplete in config files - * @typedef {import('./UserConfig.js').default} UserConfig */ class Eleventy {