Coder Social home page Coder Social logo

grails-asset-autoprefixer's Introduction

grails-asset-autoprefixer

Grails plugin for autoprefixing assets

Requires asset-pipeline plugin!

Overview

This plugin is an addition to the asset-pipeline plugin created by @bertramdev.

It uses https://github.com/postcss/autoprefixer-core to autoprefix css and less files for the configured browsers.

Usage

Add

mavenRepo "https://raw.github.com/uberall/uberall-plugins/mvn-repo"

to your repositories and

compile ":asset-autoprefixer:1.1.3"

to your plugins in BuildConfig.groovy.

You must also have asset-pipeline installed in your app with a version greater than 2.0

Configuration

You can define which browsers to prefix for by overriding the default value in your Config.groovy

grails.assets.autoprefixer.browsers = ['last 2 versions', 'Firefox ESR', '> 5%', 'ie 10','ie 9'] // default value

grails-asset-autoprefixer's People

Contributors

peh avatar burtbeckwith avatar

Stargazers

 avatar

Watchers

Rubén Mondéjar avatar Steffen Zels avatar Martin Schneider avatar Florian Langenhahn avatar James Cloos avatar  avatar  avatar Maxence avatar  avatar Roman Bobin avatar Ting Xiang avatar  avatar Theoklitos Christodoulou avatar Christian avatar Santiago Trias avatar  avatar Alex Pedini avatar Vitaliy Shvarz avatar Oliver Broad avatar JD avatar Zhambyl Yermagambet avatar  avatar Patrik Zelena avatar Uliana Sirotina avatar Gian Paolo Buffo avatar

Forkers

burtbeckwith

grails-asset-autoprefixer's Issues

Publish source for latest release

Hi,
The source here at GitHub is version 1.1.3, while 1.3.0 is the latest version released to Grails plugin portal.
Can you please push the latest source?

Support for Sass/SCSS

The plugin works with LESS files but not with Sass/SCSS files.
Any chance to get prefixing to apply to Sass/SCSS as well?
Or if prefixing could apply to the resulting CSS from sass-asset-pipeline.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.