feat: split and hash inlined assets

This commit is contained in:
saberzero1
2026-05-22 23:03:39 +02:00
parent cfba672f51
commit cfcd9c18ac
3 changed files with 85 additions and 4 deletions
+2
View File
@@ -42,6 +42,8 @@ export interface BuildCtx {
hashedResourceNames?: HashedResourceNames
/** Maps CSS content strings to their emitted hashed filenames. Populated by ComponentResources. */
componentCssMap?: Map<string, string>
/** Maps inline CSS/JS content to extracted external file paths. Populated by ComponentResources. */
extractedInlineResources?: Map<string, string>
}
export function trieFromAllFiles(allFiles: QuartzPluginData[]): FileTrieNode<BuildTimeTrieData> {