Split server bundles again

This commit is contained in:
Jade Ellis 2024-09-10 01:30:51 +01:00
parent c5b3db5735
commit e234f983a1
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -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",