From d2bbd43c9db11d37fa256bdeb3477cbef646e3b5 Mon Sep 17 00:00:00 2001 From: Phillip Date: Sun, 24 Oct 2021 19:39:44 +0200 Subject: [PATCH] Update package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index edac7d7..f7ff05b 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "This is a sample plugin for Obsidian (https://obsidian.md)", "main": "main.js", "scripts": { - "dev": "esbuild main.ts --bundle --external:obsidian --outdir=. --target=es2016 --format=cjs --sourcemap=inline --watch", - "build": "esbuild main.ts --bundle --external:obsidian --outdir=. --target=es2016 --format=cjs" + "dev": "node esbuild.config.mjs", + "build": "node esbuild.config.mjs production" }, "keywords": [], "author": "",