New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-pleeease

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-pleeease

Postprocess CSS with ease (and Broccoli.js)

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

broccoli-pleeease Build Status

Postprocess CSS using Pleeease

DEPRECATED

This module has been deprecated in favor of working directly with PostCSS. Please look to broccoli-postcss for a full post-processing solution, and broccoli-sass, broccoli-less-single or broccoli-stylus-single for preprocessing.

Here's the full list of PostCSS plugins used by Pleeease:

Install

$ npm install --save-dev broccoli-pleeease

Usage

var pleeease = require('broccoli-pleeease');
var tree = 'fixture';
var options = {
    autoprefixer: {
        browsers: ['last 5 versions', 'Android 2.3'],
        cascade: false
    },
    import: {
        path: 'fixture'
    },
    mqpacker: true
};

module.exports = pleeease(tree, options);

Inlining @import'ed files

In Broccoli, file paths in plugins are resolved relative to the Brocfile per default, not to each processed file. Therefore, it's possible that pleeease will throw an error upon trying to inline any files you've imported in your CSS, since the @import paths won't line up properly between pleeease and your source files.

To work around this, you can specify a path property that's the same as the root of your Broccoli tree on the import object in the options you pass to pleeease. This only works for @import statements in files that reside at the root of the Broccoli tree, though.

License

MIT © Fredrik Ekelund

Keywords

FAQs

Package last updated on 28 Nov 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc