feat: add send file function
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
import * as esbuild from "esbuild";
|
||||
import pkgInfo from "./package.json";
|
||||
|
||||
const VERSION = "0.0.7";
|
||||
const VERSION = pkgInfo.version;
|
||||
const IS_DIST =
|
||||
process.argv.indexOf("--prod") !== -1 || process.argv.indexOf("-p") !== -1;
|
||||
const WS_URL = IS_DIST ? process.env.WS_URL : "ws://127.0.0.1:8787";
|
||||
|
||||
Reference in New Issue
Block a user