Socket
Socket
Sign inDemoInstall

gobem-proc-sqwish

Package Overview
Dependencies
32
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gobem-proc-sqwish

Processor to minify CSS files for gobem builder.


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

gobem-proc-sqwish

This processor for gobem minifies CSS files using sqwish. All options are passed as a single object. gobem-proc-sqwish requires redis database to cache results of the work.

The following options are supported:

  • ignoreErrors
    If this flag is true and error occured, raw file's content will be written instead minified one.
  • redisKey
    The key in the redis database to store cache. Default value is gobem-proc-sqwish.
  • redisClient
    Already created redis-client. This module is used.
  • redisOptions
    Options for a new redis-client. This field is ignored, if redisClient is passed.

Example for build.js

module.exports = function () {
    return [
        ['select', 0, /^components\/(\w+)\/\1\.css$/],
        ['gobem-proc-sqwish', {
            ignoreErrors: true,
            redisOptions: {
                port: 6370
            }
        }],
        ['write', 1]
    ]; // this array will be used as build instructions
};

Keywords

FAQs

Last updated on 18 Oct 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc