From 2958a5da43a7b932b315eff0e591ecb5daba5d23 Mon Sep 17 00:00:00 2001 From: William So Date: Thu, 6 Jun 2024 19:01:40 +0800 Subject: [PATCH] Testing something Signed-off-by: William So --- build/build.mjs | 2 -- package.json | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build/build.mjs b/build/build.mjs index f5a341e..7014613 100644 --- a/build/build.mjs +++ b/build/build.mjs @@ -22,7 +22,6 @@ const ARGV_PRODUCTION = 2, drop: [], entryPoints: ["sources/main.ts", "sources/styles.css"], external: [ - "@capacitor/*", "@codemirror/*", "@lezer/*", "electron", @@ -54,7 +53,6 @@ const ARGV_PRODUCTION = 2, color: true, define: { "globalThis.process": "undefined", process: "undefined" }, external: [ - "@capacitor/*", "@codemirror/*", "@lezer/*", "electron", diff --git a/package.json b/package.json index 4b17d79..0cb9e72 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ }, "dependencies": { "@aidenlx/esbuild-plugin-inline-worker": "^1.0.1", + "@capacitor/core": "^6.0.0", "@codemirror/state": "^6.4.1", "@codemirror/view": "^6.27.0", "@polyipseity/obsidian-plugin-library": "^1.25.0",