forked from svrjs/svrjs
build: enable bundling for utility scripts
This commit is contained in:
parent
e474361673
commit
efdf6f1551
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
require("./svr.js");
|
require(__dirname + "/svr.js");
|
||||||
|
|
Reference in a new issue