weapp-tailwindcss
Version:
把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!
22 lines (21 loc) • 1.18 kB
TypeScript
import type { OutputAsset, OutputChunk } from 'rollup';
import type { CssHandlerOptionsCache } from './css-handler-options.js';
import type { GenerateBundleContext } from './types.js';
interface HandleUniAppXPostCssOptions {
bundle: Record<string, OutputAsset | OutputChunk>;
debug: GenerateBundleContext['debug'];
generatorRuntime: Set<string>;
getCssHandlerOptions: CssHandlerOptionsCache['getCssHandlerOptions'];
getSourceCandidateSourcesForEntries: GenerateBundleContext['getSourceCandidateSourcesForEntries'];
getSourceCandidatesForEntries: GenerateBundleContext['getSourceCandidatesForEntries'];
getViteProcessedCssAssetResults: GenerateBundleContext['getViteProcessedCssAssetResults'];
isHarmonyAppStyleTarget: boolean;
isNativeAppStyleTarget: boolean;
onUpdate: GenerateBundleContext['opts']['onUpdate'];
opts: GenerateBundleContext['opts'];
runtimeState: GenerateBundleContext['runtimeState'];
styleHandler: GenerateBundleContext['opts']['styleHandler'];
deferStylePlaceholderInjection?: boolean;
}
export declare function handleUniAppXPostCssTasks(options: HandleUniAppXPostCssOptions): Promise<string[]>;
export {};