UNPKG

@hyperbridge/sdk

Version:

The hyperclient SDK provides utilities for querying proofs and statuses for cross-chain requests from HyperBridge.

12 lines (9 loc) 323 B
import type { Plugin } from "vite" /** * A Vite plugin that copies the WebAssembly file from @hyperbridge/sdk to the Vite cache directory. * This ensures the WASM file is available for browser imports when using Vite. * * @returns {Plugin} A Vite plugin */ export function copyWasm(): Plugin export default copyWasm