From ad1fd990e348166016199258eada923292157098 Mon Sep 17 00:00:00 2001 From: icarus Date: Fri, 22 Aug 2025 18:09:54 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=B0=86=20tesseract.js=20=E4=BB=8E?= =?UTF-8?q?=20devDependencies=20=E7=A7=BB=E8=87=B3=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 确保生产环境能正确使用 tesseract.js 功能 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 73339601ad..49f7340559 100644 --- a/package.json +++ b/package.json @@ -79,6 +79,7 @@ "officeparser": "^4.2.0", "os-proxy-config": "^1.1.2", "selection-hook": "^1.0.11", + "tesseract.js": "^6.0.1", "turndown": "7.2.0" }, "devDependencies": { @@ -258,7 +259,6 @@ "string-width": "^7.2.0", "styled-components": "^6.1.11", "tar": "^7.4.3", - "tesseract.js": "^6.0.1", "tiny-pinyin": "^1.3.2", "tokenx": "^1.1.0", "tsx": "^4.20.3",