Skip to content

Commit cf9bb4f

Browse files
committed
fix: include root-level TypeScript files in esbuild output
1 parent 86f44fd commit cf9bb4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"homepage": "https://github.com/typelets/typelets-api#readme",
2525
"scripts": {
2626
"dev": "tsx watch --clear-screen=false src/server.ts",
27-
"build": "esbuild src/**/*.ts --outdir=dist --platform=node --format=cjs --target=node20",
27+
"build": "rm -rf dist && esbuild src/server.ts src/version.ts src/**/*.ts --outdir=dist --platform=node --format=cjs --target=node20",
2828
"start": "node dist/server.js",
2929
"test": "jest",
3030
"lint": "eslint src/**/*.ts",

0 commit comments

Comments
 (0)