@coralogix/galeforcecss-config-loader
v0.1.2
Published
Load and resolve a tailwind.config.{js,cjs,mjs,ts} file into the JSON shape GaleforceCSS's Rust compiler consumes.
Readme
@coralogix/galeforcecss-config-loader
Loads and resolves a tailwind.config.{js,cjs,mjs,ts} file into the JSON shape
GaleforceCSS's Rust compiler
consumes, including running any configured Tailwind plugins against a recording
context so their addUtilities / matchVariant / … calls can be replayed
inside the compiler.
This is an internal building block of @coralogix/galeforcecss. You generally
don't need to depend on it directly.
Install
npm install -D @coralogix/galeforcecss-config-loaderUsage
import { loadConfig, findConfigPath } from '@coralogix/galeforcecss-config-loader'
const path = findConfigPath(process.cwd())
const { resolved, pluginNames } = await loadConfig({ path: path ?? undefined })License
Apache License 2.0. Copyright 2026 Coralogix Ltd.
