weapp-tailwindcss
Version:
把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!
7 lines (6 loc) • 654 B
TypeScript
import type { WeappTailwindcssGeneratorTarget } from './types.js';
export declare const generatorTargetEnvKeys: readonly ["UNI_PLATFORM", "UNI_UTS_PLATFORM", "MPX_CLI_MODE", "MPX_CURRENT_TARGET_MODE", "TARO_ENV", "WEAPP_TW_TARGET", "WEAPP_TAILWINDCSS_TARGET"];
export declare function shouldUseWebGeneratorTargetFromEnv(): boolean;
export declare function shouldUseUniAppWebRpxCompatibility(appType: string | undefined): boolean;
export declare function shouldUseUniAppViteWebViewGeneratorTarget(appType: string | undefined, platform?: string | undefined): boolean;
export declare function inferGeneratorTargetFromEnv(): WeappTailwindcssGeneratorTarget;