0.0.12 • Published 6 months ago
@lenkan/sitegen v0.0.12
Static site generator
This is a simple static site generator using esbuild and react.
Installation
npm i @lenkan/sitegen
Usage
Create an entrypoint app.tsx
import { render } from "@lenkan/sitegen";
export default render({
"/": {
component: function App() {
return <div>Hello world</div>;
},
},
});
Build the output
npx sitegen app.tsx dist