diff --git a/build.ts b/build.ts index 20c7bfd..c168d9b 100644 --- a/build.ts +++ b/build.ts @@ -1,5 +1,5 @@ #!/usr/bin/env bun -import { watch, readFile } from "node:fs/promises"; +import { readFile } from "node:fs/promises"; enum BuildTarget { ALL = 'all', @@ -23,7 +23,7 @@ const postProcess = (str: string): string => { return str; } -const build = async (target: BuildTarget, config?: any={}) => { +const build = async (target: BuildTarget, config: any={}) => { console.log('--- Building:', target); const startTime = performance.now(); diff --git a/package.json b/package.json index de00ba3..b18bced 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "build": "build.ts" }, "devDependencies": { - "@types/bun": "latest" + "@types/bun": "latest", + "@types/node": "^20.12.7" }, "peerDependencies": { "typescript": "^5.0.0"