Skip to content

Commit ed5b4c8

Browse files
authored
Fix formatting of bun build command in deploy.md (#676)
Fix: Add missing line continuation in bun build command The original multi-line bun build script was missing a line continuation (\) after the --target bun flag. Due to this, the next line (--outfile server) was not treated as being part of the same command, and Bun interpreted it incorrectly. This patch fixes the issue by adding the missing backslash so that all flags and arguments are correctly sent to bun build. Why it's important: Prevents build-time errors due to incorrectly formatted CLI input Makes the command easier to read and maintain Matches conventional shell scripting standards Verified that the build now works with all flags enabled: Compiled output Minified whitespace and syntax Targeting Bun runtime Custom output file
1 parent 383ab46 commit ed5b4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/patterns/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ bun build \
6363
--compile \
6464
--minify-whitespace \
6565
--minify-syntax \
66-
--target bun
66+
--target bun \
6767
--outfile server \
6868
src/index.ts
6969
```

0 commit comments

Comments
 (0)