UNPKG

weapp-tailwindcss

Version:

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

16 lines (15 loc) 931 B
import type { OutputAsset, OutputChunk } from 'rollup'; import type { InternalUserDefinedOptions } from '../../../types/index.js'; type TransformMatcher = (id: string) => boolean; interface TransformFilter { include?: TransformMatcher | undefined; exclude?: TransformMatcher | undefined; } export declare function createTransformFilter(options: InternalUserDefinedOptions['transform'], rootDir: string): { include: ((id: string) => boolean) | undefined; exclude: ((id: string) => boolean) | undefined; } | undefined; export declare function shouldSkipViteJsChunkTransform(chunk: OutputChunk, filter: TransformFilter | undefined): boolean; export declare function shouldSkipViteAssetTransform(asset: OutputAsset, file: string, rootDir: string, filter: TransformFilter | undefined): boolean; export declare function createTransformFilterSignature(options: InternalUserDefinedOptions['transform']): string; export {};