Eleventy + TailwindCSS and based on the Eleventy Web Starter
npm install
Starts watch tasks to compile when changes detected
npm start
Minify HTML, minify JS, inline and minify CSS.
npm run build
Automated deploys when merging into master branch via GitHub Actions. This site is being hosted on GitHub Pages by exposing the gh-pages branch to a custom domain.
- The project uses Eleventy as a static site generator
- Default templating is Nunjucks (can be changed)
- PostCSS set up to handle:
- TailwindCSS
- CSS Imports
- Autoprefixer
- PurgeCSS to remove unused CSS (set up for TailwindCSS by default) in production
- HTML Minifier to minify HTML in production
- CSS inlined and minified in production
- esbuild used to bundle and minify scripts
- Document
<head>
crafted using htmlhead.dev - Luxon for formatting dates and times
- NPM Run All to run multiple scripts