diff --git a/esbuild.config.js b/esbuild.config.js index 35a8fc4..74b28dc 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -200,7 +200,7 @@ esbuild esbuild .build({ entryPoints: utilFiles.map((filename) => "utils/" + filename), - bundle: false, + bundle: true, outdir: "dist", platform: "node", target: "es2017", diff --git a/utils/svr_new.js b/utils/svr_new.js index 5d0ff8b..d15e408 100644 --- a/utils/svr_new.js +++ b/utils/svr_new.js @@ -1 +1 @@ -require("./svr.js"); +require(__dirname + "/svr.js");