mirror of
https://github.com/alberti42/obsidian-plugins-annotations.git
synced 2026-07-22 10:10:24 +00:00
Disabled minified
This commit is contained in:
parent
95d2f5252e
commit
2cf1a9249b
1 changed files with 4 additions and 4 deletions
|
|
@ -43,14 +43,14 @@ const context = await esbuild.context({
|
|||
target: "es2022",
|
||||
logLevel: "info",
|
||||
sourcemap: prod ? false : "inline",
|
||||
minifySyntax: prod, // Enable syntax minification in production
|
||||
minifyWhitespace: prod, // Disable whitespace minification
|
||||
minifyIdentifiers: prod, // Disable identifier minification
|
||||
// minify: prod,
|
||||
// minifySyntax: prod, // Enable syntax minification in production
|
||||
// minifyWhitespace: prod, // Disable whitespace minification
|
||||
// minifyIdentifiers: prod, // Disable identifier minification
|
||||
outdir,
|
||||
define: {
|
||||
"process.env.NODE_ENV": JSON.stringify(prod ? "production" : "development"),
|
||||
},
|
||||
minify: prod,
|
||||
treeShaking: prod,
|
||||
plugins: [
|
||||
copy({
|
||||
|
|
|
|||
Loading…
Reference in a new issue