Skip to content

Commit 6a75755

Browse files
committed
Add compile script
1 parent e1a73b9 commit 6a75755

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "openworkers-api",
3-
"module": "index.ts",
3+
"module": "src/index.ts",
44
"type": "module",
55
"private": true,
66
"scripts": {
7-
"dev": "bun --hot index.ts",
8-
"start": "bun index.ts",
7+
"dev": "bun --hot src/index.ts",
8+
"start": "bun src/index.ts",
9+
"compile": "bun build --compile --minify --sourcemap src/index.ts --outfile dist/openworkers-api",
910
"test": "bun test"
1011
},
1112
"dependencies": {

0 commit comments

Comments
 (0)