Initial changes to allow building in 11ty 3.0 canary

This commit is contained in:
Robert McGovern 2024-01-29 19:14:30 +00:00
parent 3dd7d307b2
commit d6fac9cd61
3 changed files with 186 additions and 842 deletions

View File

@ -1,8 +1,9 @@
const { EleventyRenderPlugin } = require("@11ty/eleventy");
const Image = require("@11ty/eleventy-img"); const Image = require("@11ty/eleventy-img");
const CleanCSS = require("clean-css"); const CleanCSS = require("clean-css");
module.exports = function (eleventyConfig) { module.exports = async function (eleventyConfig) {
const { EleventyRenderPlugin } = await import("@11ty/eleventy");
eleventyConfig.addPassthroughCopy("./src/css"); eleventyConfig.addPassthroughCopy("./src/css");
eleventyConfig.addPassthroughCopy("./src/fonts"); eleventyConfig.addPassthroughCopy("./src/fonts");
eleventyConfig.addPassthroughCopy("./src/images"); eleventyConfig.addPassthroughCopy("./src/images");

1021
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
"author": "Robert McGovern", "author": "Robert McGovern",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@11ty/eleventy": "^2.0.0" "@11ty/eleventy": "3.0.0-alpha.4"
}, },
"dependencies": { "dependencies": {
"@11ty/eleventy-img": "^3.1.8", "@11ty/eleventy-img": "^3.1.8",