Split server bundles again

This commit is contained in:
Jade Ellis
2024-09-10 01:30:51 +01:00
parent c5b3db5735
commit e234f983a1
+1
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",