Minimal Eleventy template with Sass processing

Files & folders

Structure

Scripts

"watch:eleventy": "npx @11ty/eleventy --serve",
"watch:sass": "npx sass sass:_site/css --watch",
"start": "npm run watch:eleventy & npm run watch:sass",
"build": "sass sass:_site/css --style=compressed && eleventy --pathprefix '22-sass-minimal'",
"debug": "DEBUG=* eleventy"

Dependencies

"@11ty/eleventy": "^2.0.1",
"sass": "^1.71.1"

eleventy.config.js

eleventyConfig.addWatchTarget("./sass/");

SASS design system

Special