Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vwochnik/jekyll-autoprefixer
Autoprefixer integration for Jekyll
https://github.com/vwochnik/jekyll-autoprefixer
Last synced: about 1 month ago
JSON representation
Autoprefixer integration for Jekyll
- Host: GitHub
- URL: https://github.com/vwochnik/jekyll-autoprefixer
- Owner: vwochnik
- License: mit
- Created: 2016-04-16T12:13:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-07T14:10:42.000Z (10 months ago)
- Last Synced: 2024-04-25T00:01:42.658Z (8 months ago)
- Language: Ruby
- Size: 4.88 KB
- Stars: 64
- Watchers: 2
- Forks: 16
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-jekyll-plugins - **Autoprefixer** - autoprefixer](https://rubygems.org/gems/jekyll-autoprefixer)) -- autoprefixer integration for Jekyll (Assets & Converters & Minifiers)
README
# Jekyll Autoprefixer [![Gem Version](https://badge.fury.io/rb/jekyll-autoprefixer.png)](http://badge.fury.io/rb/jekyll-autoprefixer)
> Autoprefixer integration for Jekyll
This plugin provides simple autoprefixer support for Jekyll.
## Installation
This plugin is available as a [RubyGem][ruby-gem].
Add this line to your application's `Gemfile`:
```
gem 'jekyll-autoprefixer'
```And then execute the `bundle` command to install the gem.
Alternatively, you can also manually install the gem using the following command:
```
$ gem install jekyll-autoprefixer
```After the plugin has been installed successfully, add the following lines to your `_config.yml` in order to tell Jekyll to use the plugin:
```
plugins:
- jekyll-autoprefixer
```## Getting Started
No additional steps are required. All written CSS files inside the destination
directory are overwritten with the output of autoprefixer.Optionally, you can specify the browsers for which autoprefixer is supposed to generate prefixes inside your configuration:
```
autoprefixer:
browsers:
- last 2 versions
```You can also specify that autoprefixer should only work in production mode:
```
autoprefixer:
only_production: true
```# Contribute
Fork this repository, make your changes and then issue a pull request. If you find bugs or have new ideas that you do not want to implement yourself, file a bug report.
# Copyright
Copyright (c) 2015 Vincent Wochnik.
License: MIT
[ruby-gem]: https://rubygems.org/gems/jekyll-email-protect