Function serve

  • Start Seia SSR server.

    Parameters

    • config: {
          mode: "development" | "production";
          paths: {
              anchor: string;
              dist: string;
              entry: string;
              rsc: string;
              src: string;
              ssr: string;
          };
          root: string;
          serve: {
              port: number;
          };
      }
      • mode: "development" | "production"
      • paths: {
            anchor: string;
            dist: string;
            entry: string;
            rsc: string;
            src: string;
            ssr: string;
        }
        • anchor: string
        • dist: string
        • entry: string
        • rsc: string
        • src: string
        • ssr: string
      • root: string
      • serve: {
            port: number;
        }
        • port: number

    Returns Promise<void>