He
HeliumTS
Note:

HeliumTS is under pre-beta and active development. Expect bugs and breaking changes. If you find any issues, please report them in our GitHub

A stable release is planned for early December 2025.

Static Site Generation (SSG)

HeliumTS supports Static Site Generation (SSG) through pre-rendering pages at build time.

Add a "use ssg"; directive at the top of your page component to enable SSG:

src/pages/about.tsx

1"use ssg";
2
3import React from "react";
4
5export default function AboutPage() {
6 return (
7 <div>
8 <h1>About Us</h1>
9 <p>This page is statically generated at build time.</p>
10 </div>
11 );
12}

During build, Helium validates SSG pages and generates optimized static HTML files.