diff options
| author | Aleksey Rowan <[email protected]> | 2023-11-15 14:10:43 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-15 14:10:43 -0500 |
| commit | 7330e7499a6886f686ee7689d1b60534b1ccbbf4 (patch) | |
| tree | dde56d7fea287db7ef4f3118a0f31c2731cd5129 /esbuild.config.mjs | |
| parent | e60294b9506f44c407b214f2a4c20f22f1b9bec6 (diff) | |
| download | ai-pulse-obsidian-plugin-7330e7499a6886f686ee7689d1b60534b1ccbbf4.tar.gz ai-pulse-obsidian-plugin-7330e7499a6886f686ee7689d1b60534b1ccbbf4.zip | |
build: minify prod build
closes #70
Diffstat (limited to 'esbuild.config.mjs')
| -rw-r--r-- | esbuild.config.mjs | 3 |
1 files changed, 2 insertions, 1 deletions
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 +} |
