Install WebC plug-in
This commit is contained in:
parent
58d6c75d67
commit
00f453a00f
|
@ -1,8 +1,15 @@
|
||||||
|
// Installed Plug-ins
|
||||||
|
const pluginWebc = require("@11ty/eleventy-plugin-webc");
|
||||||
|
|
||||||
module.exports = function (eleventyConfig) {
|
module.exports = function (eleventyConfig) {
|
||||||
|
// Copy files
|
||||||
eleventyConfig.addPassthroughCopy("./src/assets/");
|
eleventyConfig.addPassthroughCopy("./src/assets/");
|
||||||
eleventyConfig.addWatchTarget("./src/assets/");
|
eleventyConfig.addWatchTarget("./src/assets/");
|
||||||
eleventyConfig.addPassthroughCopy({ "./src/assets/feed/": "/" });
|
eleventyConfig.addPassthroughCopy({ "./src/assets/feed/": "/" });
|
||||||
|
|
||||||
|
// Installed Plug-ins
|
||||||
|
eleventyConfig.addPlugin(pluginWebc);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
dir: {
|
dir: {
|
||||||
input: "src"
|
input: "src"
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@11ty/eleventy": "^2.0.1"
|
"@11ty/eleventy": "^2.0.1",
|
||||||
|
"@11ty/eleventy-plugin-webc": "^0.11.2",
|
||||||
|
"install": "^0.13.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue