example-usage.d.ts•1.01 kB
/**
* Example usage of SourceMapResolver
*
* This file demonstrates how to integrate the source map resolver
* with Playwright to debug minified JavaScript in production.
*/
/**
* Example 1: Basic usage - resolve a single location
*/
declare function basicUsage(): Promise<void>;
/**
* Example 2: Map console errors back to original source
*/
declare function mapConsoleErrors(): Promise<void>;
/**
* Example 3: Handle page navigation and cache management
*/
declare function multiPageNavigation(): Promise<void>;
/**
* Example 4: Integration with error tracking
*/
declare function errorTracking(): Promise<void>;
/**
* Example 5: Performance monitoring with source maps
*/
declare function performanceMonitoring(): Promise<void>;
/**
* Example 6: Testing with custom cache size
*/
declare function customCacheSize(): Promise<void>;
export { basicUsage, mapConsoleErrors, multiPageNavigation, errorTracking, performanceMonitoring, customCacheSize, };
//# sourceMappingURL=example-usage.d.ts.map