Skip to content

Build your personal knowledge base with Trilium Notes

fix(share): reintroduce theme-specific scripts

Elian Doran0b3846fc35a0
diff --git a/apps/client/src/share.ts b/apps/client/src/share.ts
index cc688a02ba..fb7ad446a3 100644
--- a/apps/client/src/share.ts
+++ b/apps/client/src/share.ts
@@ -1,6 +1,7 @@
import "normalize.css";
import "@triliumnext/ckeditor5/content.css";
import "@triliumnext/share-theme/styles/index.css";
+import "@triliumnext/share-theme/scripts/index.js";
/**
* Fetch note with given ID from backend
diff --git a/packages/share-theme/package.json b/packages/share-theme/package.json
index 09c1217dec..1a3924e2a9 100644
--- a/packages/share-theme/package.json
+++ b/packages/share-theme/package.json
@@ -13,6 +13,7 @@
"exports": {
"./templates/*": "./src/templates/*",
"./styles/*": "./src/styles/*",
+ "./scripts/*": "./src/scripts/*",
"./*": "./dist/*"
},
"author": "",