diff --git a/package-lock.json b/package-lock.json index b668a9534..0e2df01e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,6 @@ "minimist": "^1.2.8", "moo": "^0.5.2", "node-retrieve-globals": "^6.0.0", - "normalize-path": "^3.0.0", "nunjucks": "^3.2.4", "please-upgrade-node": "^3.2.0", "posthtml": "^0.16.6", 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 f918ab746..0f49e7356 100644 --- a/src/Eleventy.js +++ b/src/Eleventy.js @@ -42,9 +42,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 {