UNPKG

weapp-tailwindcss

Version:

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

8 lines (7 loc) 688 B
import type { OutputAsset, OutputChunk } from 'rollup'; import type { BundleSnapshot } from '../bundle-state.js'; import type { TailwindSourceEntry } from '../../../tailwindcss/source-scan.js'; export declare function normalizePackageRoot(root: string): string; export declare function collectMiniProgramSubpackageRoots(bundle: Record<string, OutputAsset | OutputChunk>): Set<string> | undefined; export declare function isSubpackageOutputFile(file: string, subpackageRoots: Set<string>): boolean; export declare function collectMiniProgramSubpackageSourceEntries(snapshot: BundleSnapshot, subpackageRoots: Set<string>, sourceBaseRoots: Array<string | undefined>): TailwindSourceEntry[];