https://github.com/localvoid/autoprefixer_transformer
Dart `pub` transformer that parses css and adds vendor prefixes to CSS rules
https://github.com/localvoid/autoprefixer_transformer
Last synced: 5 months ago
JSON representation
Dart `pub` transformer that parses css and adds vendor prefixes to CSS rules
- Host: GitHub
- URL: https://github.com/localvoid/autoprefixer_transformer
- Owner: localvoid
- License: bsd-2-clause
- Created: 2014-08-21T13:05:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-01T08:31:46.000Z (almost 11 years ago)
- Last Synced: 2025-03-20T04:44:21.734Z (about 1 year ago)
- Language: Dart
- Size: 159 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# autoprefixer_transformer
> [pub](https://pub.dartlang.org/) transformer that parses css and
> adds vendor prefixes to css rules.
## Prerequisites
This transformer depends on
[autoprefixer](https://github.com/postcss/autoprefixer) CLI tool
that performs transformations.
## Usage example
### `pubspec.yaml`
```yaml
name: autoprefixer_example
dependencies:
autoprefixer_transformer: any
transformers:
- autoprefixer_transformer:
browsers:
- "last 2 versions"
```
### `web/example.css`
```css
.noselect {
user-select: none;
}
```
## Options
### `executable`
Path to the [autoprefixer](https://github.com/postcss/autoprefixer)
executable.
TYPE: `String`
DEFAULT: `autoprefixer`
### `browsers`
Browsers you want to target.
TYPE: `List`
DEFAULT: `[> 1%]`
### `source_map`
Generate source map in release mode.
TYPE: `bool`
DEFAULT: `false`