UNPKG

weapp-tailwindcss

Version:

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

29 lines (28 loc) 1.6 kB
export declare const TAILWIND_V4_BANNER_RE: RegExp; export declare const TAILWIND_GENERATED_CSS_MARKER_RE: RegExp; export declare const GENERATOR_PLACEHOLDER_MARKER_RE: RegExp; export declare const GENERATOR_PLACEHOLDER_MARKER_GLOBAL_RE: RegExp; export declare const TAILWIND_BANNER_PREFIX_RE: RegExp; export declare const TAILWIND_BANNER_RE: RegExp; export declare const TAILWIND_BANNER_GLOBAL_RE: RegExp; export declare const VITE_MARKER_RE: RegExp; export declare function createCssAppend(base: string, extra: string): string; export declare function splitTailwindV4GeneratedCss(rawSource: string, rawTailwindCss: string): string | undefined; export declare function splitTailwindV4GeneratedCssBySourceOrder(rawSource: string, rawTailwindCss: string): { before: string; after: string; } | undefined; export declare function splitGeneratorPlaceholderCssBySourceOrder(rawSource: string, rawTailwindCss?: string): { before: string; after: string; } | undefined; export declare function removeTailwindGeneratedCssByBanner(rawSource: string): string | undefined; export declare function splitTailwindGeneratedCssByBanner(rawSource: string, start?: number): { before: string; after: string; } | undefined; export declare function stripTailwindBanner(css: string): string; export declare function stripTailwindBanners(css: string): string; export declare function stripGeneratorPlaceholderMarkers(css: string): string; export declare function hasTailwindGeneratedCss(rawSource: string): boolean; export declare function hasTailwindGeneratedCssMarkers(rawSource: string): boolean;