Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fixes to build
zadam30e84321f9ea
diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.shindex 45421dc47d..cc5a6342c2 100755--- a/bin/copy-trilium.sh+++ b/bin/copy-trilium.sh@@ -32,8 +32,9 @@ cp webpack-* $DIR/# cleanup of useless files in dependenciesrm -r $DIR/node_modules/image-q/demorm -r $DIR/node_modules/better-sqlite3/deps/sqlite3.tar.gz-rm -r $DIR/node_modules/@jimp/plugin*+rm -r $DIR/node_modules/@jimp/plugin-print/fontsrm -r $DIR/node_modules/jimp/browser+rm -r $DIR/node_modules/jimp/fonts# delete all tests (there are often large images as test file for jimp etc.)find $DIR/node_modules -name test -exec rm -rf {} \;diff --git a/src/services/note_cache/entities/attribute.js b/src/services/note_cache/entities/attribute.jsindex 7fa4125064..55c449177d 100644--- a/src/services/note_cache/entities/attribute.js+++ b/src/services/note_cache/entities/attribute.js@@ -1,6 +1,6 @@"use strict";-import Note from './note.js';+const Note = require('./note.js');class Attribute {constructor(noteCache, row) {diff --git a/src/services/note_cache/entities/branch.js b/src/services/note_cache/entities/branch.jsindex dda388fe4c..0e19fdaf03 100644--- a/src/services/note_cache/entities/branch.js+++ b/src/services/note_cache/entities/branch.js@@ -1,6 +1,6 @@"use strict";-import Note from "./note.js";+const Note = require('./note.js');class Branch {constructor(noteCache, row) {