Skip to content

Commit 37feec4

Browse files
authored
fix: add banner (#21)
1 parent 625df3c commit 37feec4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/strange-pets-collect.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"depon": patch
3+
---
4+
5+
fix: add banner

build.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const cliOptions: BuildOptions = {
1818
sourcemap: false,
1919
platform: "node",
2020
target: "esnext",
21+
banner: {
22+
js: "#!/usr/bin/env node",
23+
},
2124
} as const;
2225

2326
Promise.all([

0 commit comments

Comments
 (0)