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
chore(assets): remove manual provision of knockout
Panagiotis Papadopoulos328c53b725be
diff --git a/bin/copy-dist.ts b/bin/copy-dist.tsindex 7203b34965..bdb4e311e1 100644--- a/bin/copy-dist.ts+++ b/bin/copy-dist.ts@@ -89,7 +89,6 @@ const copy = async () => {"node_modules/jsplumb/dist/","node_modules/vanilla-js-wheel-zoom/dist/","node_modules/mark.js/dist/",- "node_modules/knockout/build/output/","node_modules/normalize.css/","node_modules/jquery.fancytree/dist/","node_modules/bootstrap/dist/",diff --git a/src/routes/assets.ts b/src/routes/assets.tsindex a46801559d..15af7cad32 100644--- a/src/routes/assets.ts+++ b/src/routes/assets.ts@@ -88,8 +88,6 @@ async function register(app: express.Application) {// Deprecated, https://www.npmjs.com/package/autocomplete.js?activeTab=readmeapp.use(`/${assetPath}/node_modules/autocomplete.js/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/autocomplete.js/dist/")));- app.use(`/${assetPath}/node_modules/knockout/build/output/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/knockout/build/output/")));-app.use(`/${assetPath}/node_modules/normalize.css/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/normalize.css/")));app.use(`/${assetPath}/node_modules/jquery.fancytree/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/jquery.fancytree/dist/")));