UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

1 lines 790 B
{"version":3,"file":"get-config.cjs","sources":["../../../src/cli/utils/get-config.ts"],"sourcesContent":["import { setupConfig } from \"../commands/setup-config\";\nimport type { Config } from \"./create-config\";\n\n/**\n * Gets the current configuration by reading and validating the config file.\n *\n * This function calls `setupConfig()` which will:\n * - Create the config file if it doesn't exist\n * - Validate and fix any invalid config values\n * - Return the parsed configuration\n *\n * @returns {Promise<Config>} A promise that resolves to the validated configuration object\n */\nexport async function getConfig(): Promise<Config> {\n return await setupConfig();\n}\n"],"names":["setupConfig"],"mappings":";;;;AAEO,eAAe,SAAS,GAAG;AAClC,EAAE,OAAO,MAAMA,uBAAW,EAAE;AAC5B;;;;"}