mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
Reduce binary size (#1242)
This commit is contained in:
parent
2ca4a4a955
commit
dc65c90e8c
1 changed files with 2 additions and 0 deletions
|
|
@ -41,7 +41,9 @@ const context = await esbuild.context({
|
|||
plugins: [svgPlugin(), wasmPlugin],
|
||||
define: {
|
||||
global: "window",
|
||||
"process.env.NODE_ENV": prod ? '"production"' : '"development"',
|
||||
},
|
||||
minify: prod,
|
||||
});
|
||||
|
||||
if (prod) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue