[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986610: ITP: grunt-contrib-cssmin -- Grunt plugin to minify CSS using clean-css



Quoting James Valleroy (2021-04-08 00:33:01)
> Package: wnpp
> Severity: wishlist
> Owner: James Valleroy <jvalleroy@mailbox.org>
> X-Debbugs-Cc: debian-devel@lists.debian.org, jvalleroy@mailbox.org
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> * Package name    : grunt-contrib-cssmin
>   Version         : 4.0.0
>   Upstream Author : Tim Branyen <http://tbranyen.com/>
> * URL             : https://github.com/gruntjs/grunt-contrib-cssmin
> * License         : MIT
>   Programming Lang: JavaScript
>   Description     : Grunt plugin to minify CSS using clean-css
> 
> Adds a "cssmin" grunt task that calls clean-css. It can be used to
> combine files into one output file, minify all contents of a release
> directory, and add .min.css extension. Provides options for reporting
> results and enabling source maps.
> 
> Needed to build purecss (#856963). It will be maintained in JS team.

I am currently packaging https://github.com/rubysamurai/purecss-sass 
which provides Pure.css and is kept in sync with the original Pure.css 
project.

If you insist on packaging the original (and less flexible) Pure.css 
project, then I suggest to use sassc to concatenate and minify css 
files.

If you insist on both packaging original Pure.css *and* concatenating 
and minify using same tools as upstream, then I suggest to at least skip 
wasting time packaging this grunt plugin and instead call cssmin 
directly from the command-line: Grunt is an alternative to Make, and 
Debian packaging already use Make (debian/rules must be a Make file).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: