diff options
| author | Steph Ango <[email protected]> | 2024-08-21 11:22:30 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-21 11:22:30 -0700 |
| commit | daa0cba23c36bbdd033087a1f7e6463b57b5ebf5 (patch) | |
| tree | 71bec9ea6bd4536dc06ce22922dd9d03646f7468 | |
| parent | bfa01456443a04973ccd13d6396e4801883ca362 (diff) | |
| parent | 7330e7499a6886f686ee7689d1b60534b1ccbbf4 (diff) | |
| download | ai-pulse-obsidian-plugin-daa0cba23c36bbdd033087a1f7e6463b57b5ebf5.tar.gz ai-pulse-obsidian-plugin-daa0cba23c36bbdd033087a1f7e6463b57b5ebf5.zip | |
Merge pull request #78 from aleksey-rowan/patch-1
Minify production build
| -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 +} |
