Quickstart
Install
npm install -D @tinytown/pub
Usage
# dev server
npx -p @tinytown/pub pu b ./src
# build assets
npx -p @tinytown/pub pub ./dist
Features
- JS Support
- JSX (Defaults to
preact
) - ESM by default
- JSX (Defaults to
- Markdown
- Custom Layouts
- Base URL Support
- Front matter
- HTML
- Minifier
- Base URL Support
- CSS
- Full PostCSS Support
- Comes with postcss-import support (bundles css from
node_module
)
- Comes with postcss-import support (bundles css from
- Full PostCSS Support