This is the source code for clenemt.dev. Scaffolded from eleventy-webpack.
- 🔥 Barebone 11ty (literally 😱)
- ⚡ Fast build with per env configs (babel-env, postcss-preset-env, webpack...)
.js
(ES6, Babel, Polyfills).css
(Sass, PostCSS, Autoprefixer)- ✅ Optimized for production (source maps, headers, minified code...)
- 📸 Responsive images and cached remote images (@11ty/eleventy-img)
- 📦 SVG icon sprite generation
- 🤖 SEO metadata and Open Graph tags
- 📝 Useful shortcodes and filters (date, markdown, sprite icons, responsive images...)
- Neat error overlay (eleventy-plugin-error-overlay)
- 🎨 Prettier for formatting
First install the dependencies:
npm install
Then you can:
Command | Description |
---|---|
npm run start |
Run your website on http://localhost:8080 |
npm run build |
Build your production website inside /_site |
npm run format |
Run prettier on all filles except /_site |
npm run analyze |
Output info on your bundle size |