mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 01:06:00 +02:00
chore(ocr): expose needed dependencies
This commit is contained in:
@@ -12,6 +12,10 @@ async function main() {
|
||||
|
||||
// Copy node modules dependencies
|
||||
build.copyNodeModules([ "better-sqlite3", "bindings", "file-uri-to-path" ]);
|
||||
|
||||
// Tesseract.js worker runs in a separate worker_thread and needs its
|
||||
// source files (+ WASM core) on disk — they cannot be bundled.
|
||||
build.copyNodeModules([ "tesseract.js", "tesseract.js-core", "wasm-feature-detect" ]);
|
||||
build.copy("/node_modules/ckeditor5/dist/ckeditor5-content.css", "ckeditor5-content.css");
|
||||
|
||||
build.buildFrontend();
|
||||
|
||||
Reference in New Issue
Block a user