mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-27 03:23:20 +00:00
add BUILD_MODE switching by environment variables.
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -4,7 +4,7 @@ if you want to view the source, please visit the github repository of this plugi
|
|||||||
*/
|
*/
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const prod = process.argv[2] === "production";
|
const prod = process.argv[2] === "production" || process.env?.BUILD_MODE === "production";
|
||||||
/***
|
/***
|
||||||
* @type import("terser").MinifyOptions
|
* @type import("terser").MinifyOptions
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in new issue
Block a user