oag-mcp
    Preparing search index...

    Function bundleSdk

    • Bundle the SDK into a single ESM file with all runtime dependencies.

      Parameters

      • opts: {
            classNames: string[];
            entry: string;
            outFile: string;
            root: string;
            shimDir: string;
        }

        options

        • classNames: string[]

          API classes that must be exported

        • entry: string

          SDK entry module

        • outFile: string

          bundle output path (in the workspace)

        • root: string

          SDK package root (for resolution; read-only)

        • shimDir: string

          workspace directory for a CommonJS entry shim

      Returns Promise<{ bytes: number; exports: string[] }>

      { exports, bytes }