From 7330e7499a6886f686ee7689d1b60534b1ccbbf4 Mon Sep 17 00:00:00 2001 From: Aleksey Rowan <79934725+aleksey-rowan@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:10:43 -0500 Subject: [PATCH 1/2] build: minify prod build closes #70 --- esbuild.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esbuild.config.mjs b/esbuild.config.mjs index b13282b..a5de8b8 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) { @@ -45,4 +46,4 @@ if (prod) { process.exit(0); } else { await context.watch(); -} \ No newline at end of file +} From 92050ad841e28de8b18cc3fc591ab3c9da6f5e30 Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Mon, 11 Nov 2024 19:58:31 +0000 Subject: [PATCH 2/2] Remove statement that API is unstable --- README.md | 2 -- 1 file changed, 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.