UNPKG

weapp-tailwindcss

Version:

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

37 lines (36 loc) 1.85 kB
import type { OutputAsset, OutputChunk } from 'rollup'; import type { BundleSnapshot, BundleStateEntry } from '../bundle-state.js'; import type { BundleMetrics } from './metrics.js'; import type { GenerateBundleContext } from './types.js'; import type { CreateJsHandlerOptions, LinkedJsModuleResult } from '../../../types/index.js'; interface ProcessJsBundleEntryOptions { applyLinkedUpdates: (linked?: Record<string, LinkedJsModuleResult>) => void; bundle: Record<string, OutputAsset | OutputChunk>; cache: GenerateBundleContext['opts']['cache']; createHandlerOptions: (absoluteFilename: string, extra?: CreateJsHandlerOptions) => CreateJsHandlerOptions; debug: GenerateBundleContext['debug']; disableJsPrecheck: boolean; entry: BundleStateEntry; getJsEntry: ReturnType<typeof import('./js-entries.js').createJsEntryResolver>; deferUniAppXStylePlaceholder?: boolean; jsHandler: GenerateBundleContext['opts']['jsHandler']; jsTaskFactories: Array<() => Promise<void>>; linkedByEntry: Map<string, Set<string>> | undefined; metrics: BundleMetrics; onUpdate: GenerateBundleContext['opts']['onUpdate']; outDir: string; processFiles: BundleSnapshot['processFiles']; rememberProcessCacheKey: (cacheKey: string, hashKey?: string | number) => void; runtimeSignature: string; snapshot: BundleSnapshot; shouldSkipAstTransform: ((chunk: OutputChunk) => boolean) | undefined; slowJsAstWarnMs: number; timeTask: (name: string, task: () => Promise<void>) => Promise<void>; transformRuntime: Set<string>; transformRuntimeSignature: string; transformFilterSignature: string; uniAppX: GenerateBundleContext['opts']['uniAppX']; useIncrementalMode: boolean; } export declare function processJsBundleEntry(options: ProcessJsBundleEntryOptions): void; export {};