aboutsummaryrefslogtreecommitdiff
path: root/build.js
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-11-05 17:42:41 +0000
committerAkshay <[email protected]>2024-11-05 17:42:41 +0000
commit16139326f2fb5aea23614ac779171e31390b8f72 (patch)
tree851ab235a6cbbab4f27ee6fd92f584501873e030 /build.js
parentff789b09c45e0a9dcc4f39cdf5948e3c589a765a (diff)
add biome
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}