1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

Add passthrough copy for favicon and enable incremental watch in Eleventy

This commit is contained in:
codecalm
2025-01-27 22:52:17 +01:00
parent 90cc74487b
commit a30ac7d194
2 changed files with 3 additions and 3 deletions

View File

@@ -14,6 +14,8 @@ export default function (eleventyConfig) {
eleventyConfig.setWatchThrottleWaitTime(100);
eleventyConfig.addPassthroughCopy("src/pages/favicon.ico");
eleventyConfig.addPlugin(EleventyRenderPlugin, {
accessGlobalData: true,
});
@@ -29,8 +31,6 @@ export default function (eleventyConfig) {
eleventyConfig.addWatchTarget("dist");
}
eleventyConfig.addPassthroughCopy("favicon.ico");
/**
* Data
*/

View File

@@ -23,7 +23,7 @@
"format:write": "prettier --write src/**/*.{js,scss} --cache",
"illustrations": "node .build/import-illustrations.js",
"build:html": "eleventy",
"watch:html": "eleventy --watch"
"watch:html": "eleventy --watch --incremental"
},
"repository": {
"type": "git",