From d810e2f57ec4369589d040cd4b8da006c33008a6 Mon Sep 17 00:00:00 2001 From: musi Date: Mon, 16 Jun 2025 06:14:40 +0800 Subject: [PATCH] fix missing tiktoken_bg.wasm --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 84e4e69..d9378ab 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,7 @@ "ccr": "./dist/cli.js" }, "scripts": { - "build": "esbuild src/cli.ts --bundle --platform=node --outfile=dist/cli.js", - "buildserver": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.js" + "build": "esbuild src/cli.ts --bundle --platform=node --outfile=dist/cli.js && cp node_modules/tiktoken/tiktoken_bg.wasm dist/tiktoken_bg.wasm" }, "keywords": [ "claude",