An open API service indexing awesome lists of open source software.

https://github.com/localvoid/csso_transformer

Dart `pub` transformer that minifies css files with csso tool
https://github.com/localvoid/csso_transformer

Last synced: about 1 year ago
JSON representation

Dart `pub` transformer that minifies css files with csso tool

Awesome Lists containing this project

README

          

# [csso](https://github.com/css/csso)_transformer

> [pub](https://pub.dartlang.org/) transformer that minifies css files
> with csso tool.

## Prerequisites

This transformer depends on [csso](https://github.com/css/csso) CLI
tool that performs transformations.

## Usage example

### `pubspec.yaml`

```yaml
name: csso_example
dependencies:
csso_transformer: any
transformers:
- csso_transformer
```

## Options

### `executable`

Path to the [csso](https://github.com/css/csso) executable.

TYPE: `String`
DEFAULT: `csso`

### `restructure`

Enable structure minimization.

TYPE: `bool`
DEFAULT: `true`