// esbuild runs in Go, so NODE_OPTIONS cannot control its heap or parallelism. process.env.GOMEMLIMIT ||= '512MiB'; process.env.GOMAXPROCS ||= '2'; // Set Go's environment before Vite starts its esbuild service. await import('../node_modules/vite/bin/vite.js');