Eleventy-Starter-Boilerplate
cssnano
Eleventy-Starter-Boilerplate | cssnano | |
---|---|---|
5 | 16 | |
262 | 4,631 | |
- | 0.5% | |
0.0 | 9.0 | |
almost 3 years ago | 9 days ago | |
EJS | CSS | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Eleventy-Starter-Boilerplate
-
The Ultimate Eleventy Template for your blog with a FREE minimalist theme [Open Source]
If you are interested you can view the source code at Eleventy Template GitHub Repo
- I built an Open-Source Eleventy Starter code with Tailwind CSS 2, Webpack 5, ESLint, Prettier, Image Optimization, SEO friendly, Netlify CMS (optional)
-
How to Overcome 3 Common Roadblocks When Starting a Developer Blog
Eleventy - you can host your Eleventy site on Netlify
- The Ultimate Serverless Framework Starter with ExpressJS and TypeScript
-
Boilerplate and starter code for Serverless Framework with Express JS and TypeScript
After publishing boilerplate code for 11ty (https://github.com/ixartz/Eleventy-Starter-Boilerplate) and Nextjs (https://github.com/ixartz/Next-js-Blog-Boilerplate), I want to share another starter code for Serverless framework.
cssnano
-
Why don’t we talk about minifying CSS anymore?
There are a number of tools available to minify CSS in development or as part of your build pipeline including, but not limited to, cssnano and Vite. If you’re using sass, it’s as straightforward as adding --style=compressed to your sass command. The results you achieve may vary depending on the complexity of your CSS, but you may see numbers similar to this (processed with sass):
-
Beyond the Basics: Exploring TailwindCSS and Linaria in Next.js - From Installation to Performance Optimization
Since Tailwind is a PostCSS plugin, we can also add cssnano plugin to compress the bundle.
-
Maximize Web Performance with CSS Optimization Techniques
Minifying your CSS involves removing unnecessary whitespace, comments, and reducing property names. This results in smaller file sizes and faster downloads. Use tools like UglifyCSS and CSSNano for this purpose.
-
Classic Themes with Block Patterns in WordPress
For the sake of simplicity, my example setup uses a single-file plugin and puts all styles directly into a single style.css file without using further theme.css or theme.json files, which we might want to use depending on the requirements for customizability. Likewise, SASS / SCSS support can be added if it makes life easier for the developer(s) involved. But as we already use PostCSS to control autoprefixing and cssnano minification, we can also use it to support the latest and even upcoming CSS sytax like native CSS nesting.
-
How to auto-prefix and minify CSS?
The cssnano plugin can minify/compress CSS and make it suitable for production use. Install cssnano plugin using this command:
-
Thanks to Sveltekit, this site - with a lot of images - scores high on Lighthouse.
CSS minification by cssnano
-
Styling Remix using Tailwind and PostCSS
cssnano
-
How to integrate postcss and webpack
cssnano is used to ensure that the final result is as small as possible for a production environment.
- Buenas practicas en CSS
-
Source Maps
There are plenty of free plugins are available to optimize styles, scripts and create source maps for them. Optimize styles Optimize Scripts Create Sourcemaps
What are some alternatives?
prettier - Prettier is an opinionated code formatter.
purgecss - Remove unused CSS
Serverless-Boilerplate-Express-TypeScript - 🚀🎉📚 Boilerplate and Starter for Serverless framework, ExpressJS, TypeScript, Prisma and MongoDB ⚡️ Made with developer experience first: Serverless framework + Live reload + Offline support + ExpressJS + TypeScript + ESLint + Prettier + Husky + Commitlint + Lint-Staged + Jest + Dotenv + esbuild + VSCode
Tailwind CSS - A utility-first CSS framework for rapid UI development.
vredeburg - A simple starter project to create a blog using Eleventy and Tailwind CSS
PostCSS - Transforming styles with JS plugins
Express - Fast, unopinionated, minimalist web framework for node.
twind - The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.
skeleventy - A skeleton boilerplate built with Eleventy.
Sass - Sass makes CSS fun!
css-loader - CSS Loader