import type { AssetDefinition } from './assets.types.js'; /** * Stable identity for dependency deduplication and {@link AssetProcessingService} cache lookups. * * @remarks * Script dependencies include a build signature derived from bundle flags, grouped-bundle * metadata, and selected `bundleOptions` fields (`naming`, `external`, `minify`, plugin names). * HTML-affecting script `attributes` are hashed into the key so dedupe and cache reuse do not * collapse declarations that would emit different `