UNPKG

600 BMarkdownView Raw
1# Microsite
2
3`microsite` is a tiny, opinionated static-site generator.
4
5**At the moment, this is an experiment more than a production-ready tool.**
6
7## The opinionated stack
8
9Microsite uses `rollup` to bundle your code. Templates are written in `typescript` with `preact`, but the only JS shipped to the client is what you include in `src/global.ts`. It is automatically optimized for modern browsers following the `module/nomodule` pattern.
10
11CSS is automatically bundled using PostCSS and CSS Modules. Pages can import styles from `name.module.css`, whereas global styles live in `src/global.css`.