From 0b3846fc35a000abc36f05857eb62a6ecfe876ad Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 9 Jun 2025 14:39:56 +0300 Subject: [PATCH] fix(share): reintroduce theme-specific scripts --- apps/client/src/share.ts | 1 + packages/share-theme/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/client/src/share.ts b/apps/client/src/share.ts index cc688a02b..fb7ad446a 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 09c1217de..1a3924e2a 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": "",