UNPKG

vite-plugin-react-server

Version:
8 lines 403 B
/** * Builds a regex matching `node_modules/<pkg>/...` paths for any package in * the given list. Returns `null` for an empty list (caller should treat as * "no whitelist active") so we don't have to special-case `/(?:)/.test(id)` * which matches every string. */ export declare const buildClientPackagesPattern: (packages: readonly string[]) => RegExp | null; //# sourceMappingURL=pattern.d.ts.map