selfhostable, read-only reddit client
at personal 278 B view raw
1import { execSync } from "bun"; 2 3try { 4 // Precompile Pug templates in the `src` directory to the `dist` directory 5 execSync("pug src -o dist"); 6 console.log("Pug templates compiled successfully."); 7} catch (error) { 8 console.error("Failed to compile Pug templates:", error); 9}