New Prague, Minnesota

    @wikimedia/less-plugin-clean-css

    1.5.2 • Public • Published

    NPM version Dependencies

    less-plugin-clean-css

    Compresses the css output from less using clean-css.

    lessc usage

    npm install -g less-plugin-clean-css
    

    and then on the command line,

    lessc file.less --clean-css="--s1 --advanced --compatibility=ie8"
    

    See clean-css for the available command options - the only differences are advanced and rebase which we default to false, because it is not always entirely safe.

    Programmatic usage

    var LessPluginCleanCSS = require('less-plugin-clean-css'),
        cleanCSSPlugin = new LessPluginCleanCSS({advanced: true});
    less.render(lessString, { plugins: [cleanCSSPlugin] })
      .then(

    Browser usage

    Browser usage is not supported at this time.

    Install

    npm i @wikimedia/less-plugin-clean-css

    Homepage

    lesscss.org

    DownloadsWeekly Downloads

    456

    Version

    1.5.2

    License

    Apache-2.0

    Unpacked Size

    19.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • annetee
    • jgiannelos-wmf
    • joakin
    • krinkle
    • jdforrester
    • edg2s
    • volker_e
    • catrope
    • santhosh.thottingal
    • cscott
    • subbu_ss
    • arlolra
    • jdlrobson
    • mateusbs17
    • brightbyte
    • phuedx
    • nrayio
    • jandre3000
    • sbassett29
    • nikerabbit