mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
Split server bundles again
This commit is contained in:
@@ -36,6 +36,7 @@ esbuild.build({
|
|||||||
entryPoints: ["./build/index.js"], // Entry point file
|
entryPoints: ["./build/index.js"], // Entry point file
|
||||||
outdir: "./output", // Output directory
|
outdir: "./output", // Output directory
|
||||||
bundle: true, // Generate an external bundle
|
bundle: true, // Generate an external bundle
|
||||||
|
splitting: true, // Enable code splitting
|
||||||
format: "esm", // Output format
|
format: "esm", // Output format
|
||||||
loader: {
|
loader: {
|
||||||
".node": "copy",
|
".node": "copy",
|
||||||
|
|||||||
Reference in New Issue
Block a user