feat(new tool): OCR Image

OCR an image with Tesseract.js
This commit is contained in:
sharevb 2024-03-03 09:54:58 +01:00 committed by ShareVB
parent a07806cd15
commit 0d17698bb0
8 changed files with 669 additions and 18 deletions

View file

@ -113,4 +113,12 @@ export default defineConfig({
build: {
target: 'esnext',
},
optimizeDeps: {
include: ['pdfjs-dist'], // optionally specify dependency name
esbuildOptions: {
supported: {
'top-level-await': true,
},
},
},
});