Move excalidraw plug out of repo and add it on the fly during website build

This commit is contained in:
Zef Hemel
2025-09-26 08:33:29 +02:00
parent 8a39b93657
commit cdfd1e4305
4 changed files with 8 additions and 5 deletions
+1
View File
@@ -13,5 +13,6 @@ deploy.json
*.generated
tmp_playground
/public_version.ts
website/_plug
tmp
.idea
+3
View File
@@ -6,3 +6,6 @@ ENV SB_READ_ONLY=1
# Add the website content
ADD website /space
# Add excalidraw plug
ADD https://github.com/LogeshG5/silverbullet-excalidraw/releases/download/edge/excalidraw.plug.js /space/_plug/
+4
View File
@@ -33,3 +33,7 @@ test:
generate:
# Regenerate the Lua parser from the the grammar
deno run -A npm:@lezer/generator@1.5.1 lib/space_lua/lua.grammar -o lib/space_lua/parse-lua.js
.PHONY: website
website:
SB_INDEX_PAGE=SilverBullet ./silverbullet -p 3001 website
File diff suppressed because one or more lines are too long