mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 17:47:43 +02:00
Revert "fix(ocr): not working in server prod"
This reverts commit f4f881e839.
This commit is contained in:
@@ -11,7 +11,7 @@ async function main() {
|
||||
build.copy("/packages/share-theme/src/templates", "share-theme/templates/");
|
||||
|
||||
// Copy node modules dependencies
|
||||
build.copyNodeModules([ "better-sqlite3", "bindings", "file-uri-to-path", "tesseract.js" ]);
|
||||
build.copyNodeModules([ "better-sqlite3", "bindings", "file-uri-to-path" ]);
|
||||
build.copy("/node_modules/ckeditor5/dist/ckeditor5-content.css", "ckeditor5-content.css");
|
||||
|
||||
build.buildFrontend();
|
||||
|
||||
@@ -53,8 +53,7 @@ export default class BuildHelper {
|
||||
"better-sqlite3",
|
||||
"pdfjs-dist",
|
||||
"./xhr-sync-worker.js",
|
||||
"vite",
|
||||
"tesseract.js"
|
||||
"vite"
|
||||
],
|
||||
metafile: true,
|
||||
splitting: false,
|
||||
|
||||
Reference in New Issue
Block a user