Skip to content

Tavistock/lein-autoprefixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lein-autoprefixer

Clojars Project

A Leiningen plugin to use Autoprefixer.

Usage

Add this to your project.clj :plugins and make sure autoprefixer and postcss-cli available on the command line.

Options for this plugin are a :src to the path of the css folder and an optional :browsers using the browserslist format:

:autoprefixer {:src "resources/public/css"
               ;; optional
               :browsers "> 1%, Last 2 versions"}

Then run the command:

$ lein autoprefixer

Or make an alias in your project.clj, this runs sass then autoprefixer:

:aliases {"cssbuild" ["do" ["sass" "once"] "autoprefixer"]}

License

Copyright © 2019

Distributed under the Eclipse Public License version 1.0.

About

A Leiningen plugin to use Autoprefixer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published