1
0
Fork 0
forked from svrjs/svrjs

build: enable bundling for utility scripts

This commit is contained in:
Dorian Niemiec 2024-09-20 06:22:04 +02:00
parent e474361673
commit efdf6f1551
2 changed files with 2 additions and 2 deletions

View file

@ -200,7 +200,7 @@ esbuild
esbuild esbuild
.build({ .build({
entryPoints: utilFiles.map((filename) => "utils/" + filename), entryPoints: utilFiles.map((filename) => "utils/" + filename),
bundle: false, bundle: true,
outdir: "dist", outdir: "dist",
platform: "node", platform: "node",
target: "es2017", target: "es2017",

View file

@ -1 +1 @@
require("./svr.js"); require(__dirname + "/svr.js");