We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09a950c commit 02a1a8dCopy full SHA for 02a1a8d
package.json
@@ -23,7 +23,7 @@
23
"README.md"
24
],
25
"scripts": {
26
- "build": "rimraf dist && bun run copy-files && bun build ./src/index.ts --outdir ./dist --target node && bun run add-shebang",
+ "build": "rimraf dist && bun run copy-files && bun run scripts/bundle.ts && bun run add-shebang",
27
"copy-files": "bun run scripts/copy-files.ts",
28
"add-shebang": "bun run scripts/add-shebang.ts",
29
"prepublishOnly": "bun run build",
scripts/bundle.ts
@@ -0,0 +1,8 @@
1
+import { build } from "bun"
2
+
3
+await build({
4
+ entrypoints: ["./src/index.ts"],
5
+ outdir: "./dist",
6
+ target: "node",
7
+ external: ["duckdb", "duckdb-async"],
8
+})
0 commit comments