mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
fix(apis/websocket): hardcoded paths in tesseract worker builds
This commit is contained in:
@@ -18,6 +18,7 @@ await Bun.build({
|
|||||||
logger.info('Building Tesseract.js worker...')
|
logger.info('Building Tesseract.js worker...')
|
||||||
await Bun.build({
|
await Bun.build({
|
||||||
entrypoints: ['../../node_modules/tesseract.js/src/worker-script/node/index.js'],
|
entrypoints: ['../../node_modules/tesseract.js/src/worker-script/node/index.js'],
|
||||||
|
external: ['tesseract.js-core/*'],
|
||||||
target: 'bun',
|
target: 'bun',
|
||||||
outdir: './dist/worker',
|
outdir: './dist/worker',
|
||||||
minify: true,
|
minify: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user