Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
broccoli-pleeease
Advanced tools
Postprocess CSS using Pleeease
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:
$ npm install --save-dev broccoli-pleeease
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);
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.
MIT © Fredrik Ekelund
FAQs
Postprocess CSS with ease (and Broccoli.js)
The npm package broccoli-pleeease receives a total of 0 weekly downloads. As such, broccoli-pleeease popularity was classified as not popular.
We found that broccoli-pleeease demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.