Update to Eleventy v3 #11
3 changed files with 1677 additions and 1563 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
const UpgradeHelper = require("@11ty/eleventy-upgrade-help");
|
||||||
const pluginRss = require("@11ty/eleventy-plugin-rss");
|
const pluginRss = require("@11ty/eleventy-plugin-rss");
|
||||||
const pluginNoRobots = require("eleventy-plugin-no-robots");
|
const pluginNoRobots = require("eleventy-plugin-no-robots");
|
||||||
|
|
||||||
|
@ -65,6 +66,8 @@ module.exports = (eleventyConfig) => {
|
||||||
eleventyConfig.addShortcode("image", imageShortcode);
|
eleventyConfig.addShortcode("image", imageShortcode);
|
||||||
eleventyConfig.addShortcode("youtube", liteYoutube);
|
eleventyConfig.addShortcode("youtube", liteYoutube);
|
||||||
|
|
||||||
|
eleventyConfig.addPlugin(UpgradeHelper);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
// Optional (default is set): If your site deploys to a subdirectory, change `pathPrefix`, for example with with GitHub pages
|
// Optional (default is set): If your site deploys to a subdirectory, change `pathPrefix`, for example with with GitHub pages
|
||||||
pathPrefix: "/",
|
pathPrefix: "/",
|
||||||
|
|
3230
package-lock.json
generated
3230
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -7,12 +7,12 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"debug": "DEBUG=Eleventy* eleventy --serve --watch",
|
"debug": "DEBUG=Eleventy* eleventy --serve --watch",
|
||||||
"dev": "eleventy --serve --watch --quiet",
|
"start": "eleventy --serve --watch --quiet",
|
||||||
"lint": "eslint src/ config/",
|
"lint": "eslint src/ config/",
|
||||||
"build": "eleventy"
|
"build": "eleventy"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@11ty/eleventy": "^2.0.1",
|
"@11ty/eleventy": "^3.0.0",
|
||||||
"@11ty/eleventy-fetch": "^4.0.0",
|
"@11ty/eleventy-fetch": "^4.0.0",
|
||||||
"@11ty/eleventy-img": "^3.1.8",
|
"@11ty/eleventy-img": "^3.1.8",
|
||||||
"@11ty/eleventy-plugin-rss": "^1.2.0",
|
"@11ty/eleventy-plugin-rss": "^1.2.0",
|
||||||
|
@ -38,5 +38,8 @@
|
||||||
"postcss-import": "^16.0.0",
|
"postcss-import": "^16.0.0",
|
||||||
"postcss-import-ext-glob": "^2.1.1",
|
"postcss-import-ext-glob": "^2.1.1",
|
||||||
"prettier": "3.2.4"
|
"prettier": "3.2.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@11ty/eleventy-upgrade-help": "^3.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue