diff options
Diffstat (limited to 'build.js')
-rw-r--r-- | build.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,9 +1,9 @@ | |||
1 | import { execSync } from "bun"; | 1 | import { execSync } from "bun"; |
2 | 2 | ||
3 | try { | 3 | try { |
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 | } |