# @tsdown/css

[![npm version][npmx-version-src]][npmx-href]
[![npm downloads][npmx-downloads-src]][npmx-href]

CSS support for [tsdown](https://tsdown.dev), powered by [Lightning CSS](https://lightningcss.dev/).

All CSS processing in tsdown requires this package. Install it to enable CSS handling in your builds.

## Features

- CSS extraction and bundling
- CSS `@import` inlining via Lightning CSS `bundleAsync`
- CSS syntax lowering and autoprefixing
- CSS minification
- CSS code splitting
- Source map support
- Preprocessor support (Sass, Less, Stylus)
- PostCSS integration

## Documentation

See the [CSS documentation](https://tsdown.dev/options/css) for usage and configuration details.

## License

[MIT](../../LICENSE)

<!-- Badges -->

[npmx-version-src]: https://npmx.dev/api/registry/badge/version/@tsdown/css
[npmx-downloads-src]: https://npmx.dev/api/registry/badge/downloads-month/@tsdown/css
[npmx-href]: https://npmx.dev/@tsdown/css
