UNPKG

weapp-tailwindcss

Version:

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

26 lines (25 loc) 1.17 kB
import type { BundleSnapshot } from '../bundle-state.js'; import type { RememberedCssSource } from './types.js'; import type { InternalUserDefinedOptions } from '../../../types/index.js'; export interface RememberRuntimeLinkedCssSourcesOptions { bundleFiles: string[]; defaultStyleOutputExtension: string; debug: (message: string, ...args: unknown[]) => void; getConfiguredTailwindV4CssSourceEntries: () => Array<{ file: string; source: string; }>; getSourceCandidateSource?: ((file: string) => string | undefined) | undefined; getSourceCandidateSources?: (() => Iterable<[string, string]>) | undefined; isWebGeneratorTarget: boolean; jsImportedCssFiles: Set<string>; opts: Pick<InternalUserDefinedOptions, 'cssMatcher' | 'platform'>; outDir: string; rememberCssSource?: ((source: RememberedCssSource) => void) | undefined; rootDir: string; runtimeLinkedCssFiles: Set<string>; shouldPreserveAppCssExtension: boolean; snapshot: BundleSnapshot; sourceRoot?: string | undefined; } export declare function rememberRuntimeLinkedCssSources(options: RememberRuntimeLinkedCssSourcesOptions): void;