Skip to content

Commit 00415c5

Browse files
authored
Update GH Pages to 11ty 3 (#2316)
* Upgrade gh-pages to 11ty 3 * Enable dependabot for gh-pages subpackage * Lint * Remove 11ty upgrade helper * Update 11ty, re-add to dependabot
1 parent 4a19abb commit 00415c5

File tree

4 files changed

+432
-1467
lines changed

4 files changed

+432
-1467
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ updates:
66
- /
77
- packages/web-features
88
- packages/compute-baseline
9+
- gh-pages
910
schedule:
1011
interval: daily
1112
ignore:

gh-pages/eleventy.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const { EleventyHtmlBasePlugin } = require("@11ty/eleventy");
2-
const markdownIt = require("markdown-it");
3-
const markdownItAnchor = require("markdown-it-anchor");
1+
import { EleventyHtmlBasePlugin } from "@11ty/eleventy";
2+
import markdownIt from "markdown-it";
3+
import markdownItAnchor from "markdown-it-anchor";
44

5-
module.exports = function (eleventyConfig) {
5+
export default function (eleventyConfig) {
66
eleventyConfig.addPassthroughCopy("./src/assets/img");
77
eleventyConfig.addPassthroughCopy("./src/assets/fonts");
88
eleventyConfig.addPassthroughCopy("./src/assets/css");
@@ -19,4 +19,4 @@ module.exports = function (eleventyConfig) {
1919
output: "../_site",
2020
},
2121
};
22-
};
22+
}

0 commit comments

Comments
 (0)