pree logo

the prebuild tool for no-build websites


pree is a command line tool for building websites using plain HTML, CSS and JavaScript, with performance and developer experience of modern web frameworks. It simply pre-builds your HTML files, pre-rendering web components, resolving layouts, and striping JavaScript that is only needed for the first-render (which happens on build time).


Pre-render

pree pre-renders web components on build time, so they instantly load on client side.

Layout

pree provides shared layout between HTML pages with using page-specific metadata.

Build-only Scripts

pree strips static component code and scripts only needed on build time, reducing bundle size.

🎚

Build Environment

pree provides access to build environment (e.g. git info, env vars) to scripts during build time.


pree logo