UNPKG

weapp-tailwindcss

Version:

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

27 lines (26 loc) 1.23 kB
import type { OutputAsset } from 'rollup'; import type { createEmptyMetrics } from './metrics.js'; import { processCachedTask } from '../../shared/cache.js'; export interface ProcessHtmlBundleEntryOptions { cache: Parameters<typeof processCachedTask<string>>[0]['cache']; context: { ensureRuntimeClassSet: (force?: boolean) => Promise<Set<string>>; }; debug: (message: string, ...args: unknown[]) => void; dynamicRetryCandidates: Set<string>; file: string; metrics: ReturnType<typeof createEmptyMetrics>; onUpdate: (file: string, oldVal: string, newVal: string) => void; originalEntrySource: string; originalSource: OutputAsset; rememberProcessCacheKey: (cacheKey: string, hashKey?: string | number) => void; resolveCurrentSourceCandidateSource: (file: string) => string | undefined; tasks: Promise<void>[]; templateHandler: (source: string, options: { runtimeSet: Set<string>; }) => string | Promise<string>; timeTask: (name: string, task: () => Promise<void>) => Promise<void>; transformRuntime: Set<string>; transformRuntimeSignature: string; } export declare function processHtmlBundleEntry(options: ProcessHtmlBundleEntryOptions): void;