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:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user