Skip to content

Commit bb0f111

Browse files
committed
bin/build
1 parent 67add77 commit bb0f111

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
#!/usr/bin/env sh
22
set -e
33

4+
# Clean output directory
5+
rm -rf dist
6+
47
# Build templates from TypeScript source
58
ts-node scripts/build-templates.ts
69

710
# Format generated files
811
pnpm fixstyle
912

1013
# Compile TypeScript (ESM)
11-
tsc
14+
tsc -p tsconfig.json
1215

1316
# Compile TypeScript (CommonJS)
1417
tsc -p tsconfig.cjs.json

0 commit comments

Comments
 (0)