UNPKG

weapp-tailwindcss

Version:

把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!

14 lines (13 loc) 767 B
import type { OutputEntry } from '../bundle-entries.js'; import type { LinkedJsModuleResult } from '../../../types/index.js'; interface LinkedUpdateHelpersOptions { jsEntries: Map<string, OutputEntry>; onUpdate: (fileName: string, previous: string, next: string) => void; debug: (format: string, ...args: unknown[]) => void; } export declare function createLinkedUpdateHelpers(options: LinkedUpdateHelpersOptions): { applyLinkedUpdates: (linked?: Record<string, LinkedJsModuleResult>) => void; pendingLinkedUpdates: (() => void)[]; }; export declare function collectLinkedFileNames(linked: Record<string, LinkedJsModuleResult> | undefined, getJsEntry: (id: string) => OutputEntry | undefined, linkedSet: Set<string> | undefined): void; export {};