UNPKG

weapp-tailwindcss

Version:

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

14 lines (13 loc) 778 B
import type { OutputAsset, OutputChunk } from 'rollup'; import type { GenerateBundleContext } from './types.js'; import type { IStyleHandlerOptions } from '../../../types/index.js'; export declare function finalizeMiniProgramCssAssets(bundle: Record<string, OutputAsset | OutputChunk>, options: { cssMatcher: GenerateBundleContext['opts']['cssMatcher']; getCssHandlerOptions: (file: string) => IStyleHandlerOptions; isWebGeneratorTarget: boolean; lastCssResultByFile?: Map<string, string> | undefined; onUpdate: GenerateBundleContext['opts']['onUpdate']; recordCssAssetResult: GenerateBundleContext['recordCssAssetResult']; styleHandler: GenerateBundleContext['opts']['styleHandler']; debug?: GenerateBundleContext['debug']; }): Promise<number>;