UNPKG

weapp-tailwindcss

Version:

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

13 lines (12 loc) 595 B
import type { ParseResult, ParserOptions } from '@babel/parser'; import type { File } from '@babel/types'; import { LRUCache } from 'lru-cache'; export type BabelParseOptions = ParserOptions & { cache?: boolean | undefined; cacheKey?: string | undefined; cacheMaxEntries?: number | undefined; cacheMaxSourceLength?: number | undefined; }; export declare const parseCache: LRUCache<string, ParseResult<File>>; export declare function genCacheKey(source: string, options: any): string; export declare function babelParse(code: string, opts?: BabelParseOptions): ParseResult<File>;