implement headless sync plugin

This commit is contained in:
Nystik
2026-03-29 00:26:41 +01:00
parent acb700a82b
commit 90d9512f18
10 changed files with 1026 additions and 8 deletions

View File

@@ -40,6 +40,35 @@ Promise.all([
format: "cjs",
platform: "browser",
target: ["chrome90"],
external: ["obsidian", "fs"],
logLevel: "info",
}),
// Build headless-sync bundled plugin
esbuild.build({
entryPoints: [
path.join(
__dirname,
"server",
"plugins",
"headless-sync",
"plugin",
"src",
"main.js",
),
],
bundle: true,
outfile: path.join(
__dirname,
"server",
"plugins",
"headless-sync",
"plugin",
"main.js",
),
format: "cjs",
platform: "browser",
target: ["chrome90"],
external: ["obsidian"],
logLevel: "info",
}),