Split server bundles again
This commit is contained in:
parent
c5b3db5735
commit
e234f983a1
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ esbuild.build({
|
|||
entryPoints: ["./build/index.js"], // Entry point file
|
||||
outdir: "./output", // Output directory
|
||||
bundle: true, // Generate an external bundle
|
||||
splitting: true, // Enable code splitting
|
||||
format: "esm", // Output format
|
||||
loader: {
|
||||
".node": "copy",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue