summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Theiner <[email protected]>2024-11-20 17:02:47 +0100
committerGitHub <[email protected]>2024-11-20 17:02:47 +0100
commit20002ffc65516a7d376c31dbcff92460a4d2f895 (patch)
tree67804ecf41bda284f38ee4bbd035746b7b12e866
parentfa15a2558e5c50ea41055fb90f947e7ade7b3b57 (diff)
parentee04e2f81febe0644aa7bcce4b46942e94a8a125 (diff)
downloadai-pulse-obsidian-plugin-20002ffc65516a7d376c31dbcff92460a4d2f895.tar.gz
ai-pulse-obsidian-plugin-20002ffc65516a7d376c31dbcff92460a4d2f895.zip
Merge branch 'obsidianmd:master' into master
-rw-r--r--README.md2
-rw-r--r--esbuild.config.mjs1
2 files changed, 1 insertions, 2 deletions
diff --git a/README.md b/README.md
index 578b2e2..c773152 100644
--- a/README.md
+++ b/README.md
@@ -5,8 +5,6 @@ This is a sample plugin for Obsidian (https://obsidian.md).
This project uses TypeScript to provide type checking and documentation.
The repo depends on the latest plugin API (obsidian.d.ts) in TypeScript Definition format, which contains TSDoc comments describing what it does.
-**Note:** The Obsidian API is still in early alpha and is subject to change at any time!
-
This sample plugin demonstrates some of the basic functionality the plugin API can do.
- Adds a ribbon icon, which shows a Notice when clicked.
- Adds a command "Open Sample Modal" which opens a Modal.
diff --git a/esbuild.config.mjs b/esbuild.config.mjs
index 859fa6e..309f17b 100644
--- a/esbuild.config.mjs
+++ b/esbuild.config.mjs
@@ -38,6 +38,7 @@ const context = await esbuild.context({
sourcemap: prod ? false : "inline",
treeShaking: true,
outfile: "main.js",
+ minify: prod,
});
if (prod) {