Navigate

API reference

@pyric/cli/bundler

4 published symbols from @pyric/cli

Generated from the TypeScript declarations shipped at this import path.

Variables

pyricEsbuildExternals

const pyricEsbuildExternals: readonly string[];

Wildcard string patterns matching Firebase packages for bundlers that require string arrays with glob wildcards (esbuild, tsup).


pyricExternals

const pyricExternals: Readonly<{
  esbuild: readonly string[];
  rolldown: readonly RegExp[];
  rollup: readonly RegExp[];
  tsup: readonly string[];
  vite: readonly RegExp[];
  webpack: readonly RegExp[];
}>;

Convenience presets mapping bundler names to their supported external pattern format.


pyricRollupExternals

const pyricRollupExternals: readonly RegExp[];

RegExp patterns matching Firebase packages for bundlers that accept RegExp in their external configuration (Rolldown, Rollup, Vite, Webpack).

Functions

isPyricExternal()

function isPyricExternal(id: string): boolean;

Universal predicate returning true if a module specifier belongs to Firebase or Firebase Admin SDK surfaces intercepted by Pyric.

Compatible with bundlers that accept a function in their external setting (Rolldown, Rollup, Vite, Webpack).

Parameters

ParameterType
idstring

Returns

boolean