Initial changes to allow building in 11ty 3.0 canary
This commit is contained in:
parent
3dd7d307b2
commit
d6fac9cd61
|
@ -1,8 +1,9 @@
|
|||
const { EleventyRenderPlugin } = require("@11ty/eleventy");
|
||||
const Image = require("@11ty/eleventy-img");
|
||||
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/fonts");
|
||||
eleventyConfig.addPassthroughCopy("./src/images");
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -17,7 +17,7 @@
|
|||
"author": "Robert McGovern",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^2.0.0"
|
||||
"@11ty/eleventy": "3.0.0-alpha.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@11ty/eleventy-img": "^3.1.8",
|
||||
|
|
Loading…
Reference in New Issue