Document application modes (development/debug/production) Add global file drop handler, order column normalization, SPA hash fix Serve CDN assets via /_vendor/ URLs instead of merging into bundles Add production minification with license preservation Improve JSON formatting for debugging and production optimization Add CDN asset caching with CSS URL inlining for production builds Add three-mode system (development, debug, production) Update Manifest CLAUDE.md to reflect helper class architecture Refactor Manifest.php into helper classes for better organization Pre-manifest-refactor checkpoint: Add app_mode documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
764 B
TypeScript
12 lines
764 B
TypeScript
import type { CompiledQuery, InternalOptions } from "../types.js";
|
|
/**
|
|
* Some selectors such as `:contains` and (non-relative) `:has` will only be
|
|
* able to match elements if their parents match the selector (as they contain
|
|
* a subset of the elements that the parent contains).
|
|
*
|
|
* This function wraps the given `matches` function in a function that caches
|
|
* the results of the parent elements, so that the `matches` function only
|
|
* needs to be called once for each subtree.
|
|
*/
|
|
export declare function cacheParentResults<Node, ElementNode extends Node>(next: CompiledQuery<ElementNode>, { adapter, cacheResults }: InternalOptions<Node, ElementNode>, matches: (elem: ElementNode) => boolean): CompiledQuery<ElementNode>;
|
|
//# sourceMappingURL=cache.d.ts.map
|