move bridge plugin to package

This commit is contained in:
Nystik
2026-05-20 22:26:58 +02:00
parent fe11f30c01
commit 4a65f142bc
18 changed files with 25 additions and 14 deletions

View File

@@ -0,0 +1,13 @@
const esbuild = require("esbuild");
const path = require("path");
module.exports = esbuild.build({
entryPoints: [path.join(__dirname, "src", "main.js")],
bundle: true,
outfile: path.join(__dirname, "main.js"),
format: "cjs",
platform: "browser",
target: ["chrome90"],
external: ["obsidian", "fs"],
logLevel: "info",
});