Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
broccoli-postcss
Advanced tools
The broccoli-postcss plugin runs your css
through postcss plugins of your choosing.
npm install --save-dev broccoli-postcss
var compileCSS = require('broccoli-postcss');
var outputTree = compileCSS(inputTrees, inputFile, outputFile, plugins);
inputTrees
: An array of trees that specify the directories used by Broccoli. If you have a single tree, pass [tree]
.inputFile
: Relative path of the main CSS file to process.outputFile
Relative path of the output CSS file.plugins
An array of plugin objects to be used by Postcss (a minimum of 1 plugin is required). The supported object format is module
: the plugin module itself, and options
: an object of supported options for the given plugin.var compileCSS = require('broccoli-postcss');
var cssnext = require('cssnext');
var plugins = [
{
module: cssnext,
options: {
browsers: ['last 2 version']
}
},
];
var outputTree = compileCSS(['styles'], 'app.css', 'app.css', plugins);
1.2.0
FAQs
Postcss compiler for Broccoli
We found that broccoli-postcss 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.