10 years later #1
2 changed files with 4 additions and 1 deletions
|
|
@ -24,6 +24,8 @@ module.exports = function (eleventyConfig) {
|
|||
|
||||
eleventyConfig.addPassthroughCopy("vendor");
|
||||
|
||||
eleventyConfig.addWatchTarget("./source/style/");
|
||||
|
||||
return {
|
||||
dir: {
|
||||
input: "source/screens",
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@
|
|||
"style:compile": "sass source/style:build/css --load-path=vendor",
|
||||
"style:watch": "sass --watch source/style:build/css --load-path=vendor",
|
||||
"build:new": "npm run clean:build && npx @11ty/eleventy && npm run style:compile",
|
||||
"build": "npx @11ty/eleventy && npm run style:compile"
|
||||
"build": "npx @11ty/eleventy && npm run style:compile",
|
||||
"serve": "npm run style:watch & npx @11ty/eleventy --serve"
|
||||
},
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue