UNPKG

pollen-css

Version:

Utility-first CSS for the future

10 lines (8 loc) 291 B
import type { Config, ConfigObject } from "../../@types/pollen"; import modules from "../modules"; /** * Configuration helper to provide typescript support */ export function defineConfig(config: Config): ConfigObject { return typeof config === "function" ? config(modules) : config; }