weapp-tailwindcss
Version:
把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!
15 lines (14 loc) • 904 B
TypeScript
import type { OutputAsset, OutputChunk } from 'rollup';
import type { LinkedJsModuleResult } from '../../types/index.js';
export interface OutputEntry {
fileName: string;
output: OutputAsset | OutputChunk;
}
export declare function readOutputEntry(entry: OutputEntry): string | undefined;
export declare function isJavaScriptEntry(entry: OutputEntry): boolean;
export declare function createBundleModuleGraphOptions(outputDir: string, entries: Map<string, OutputEntry>): {
resolve(specifier: string, importer: string): string | undefined;
load(id: string): string | undefined;
filter(id: string): boolean;
};
export declare function applyLinkedResults(linked: Record<string, LinkedJsModuleResult> | undefined, entries: Map<string, OutputEntry>, onLinkedUpdate: (fileName: string, previous: string, next: string) => void, onApplied?: (entry: OutputEntry, code: string) => void): void;