aboutsummaryrefslogtreecommitdiff
path: root/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'build.js')
-rw-r--r--build.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.js b/build.js
index a16c54b..964c1a2 100644
--- a/build.js
+++ b/build.js
@@ -1,9 +1,9 @@
1import { execSync } from "bun"; 1import { execSync } from "bun";
2 2
3try { 3try {
4 // Precompile Pug templates in the `src` directory to the `dist` directory 4 // Precompile Pug templates in the `src` directory to the `dist` directory
5 execSync("pug src -o dist"); 5 execSync("pug src -o dist");
6 console.log("Pug templates compiled successfully."); 6 console.log("Pug templates compiled successfully.");
7} catch (error) { 7} catch (error) {
8 console.error("Failed to compile Pug templates:", error); 8 console.error("Failed to compile Pug templates:", error);
9} 9}