@windicss/config
TypeScript icon, indicating that this package has built-in type declarations

1.9.4 • Public • Published

@windicss/config

Windi CSS configurations loader.

import { loadConfiguration } from '@windicss/config'

// search for configuration file and load it from disk
// supports "{windi,windicss,tailwind}.config.{js,ts,mjs,cjs}"
const { config } = loadConfiguration({ root: __dirname })

Configuration

See src/index.ts.

License

MIT License © 2021 Anthony Fu

Readme

Keywords

Package Sidebar

Install

npm i @windicss/config

Weekly Downloads

16,986

Version

1.9.4

License

MIT

Unpacked Size

9.94 kB

Total Files

6

Last publish

Collaborators

  • antfu
  • voorjaar
  • hannoeru
  • harlan_zw