
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
@samatech/postcss-basics
Advanced tools
PostCSS plugin pack for quick project bootstrapping.
Intended for use with Vite, so postcss-modules
and postcss-import
are not included.
Plugins:
Step 1: Install plugin:
npm install --save-dev @samatech/postcss-basics
Step 2: Check your project for existing PostCSS config: postcss.config.js
in the project root, "postcss"
section in package.json
or postcss
in bundle config.
If you do not use PostCSS, first add it according to PostCSS docs.
Step 3: Add the plugin to plugins list (note the spread operator and the extra ()
after the require
statement):
module.exports = {
plugins: [
...require('@samatech/postcss-basics')(),
],
};
This can be simplified if you are not using other plugins:
module.exports = {
plugins: require('@samatech/postcss-basics')(),
};
TODO
Call plugin function to set options:
require('@samatech/postcss-basics')()
FAQs
Simple opinionated PostCSS plugin pack.
The npm package @samatech/postcss-basics receives a total of 1,115 weekly downloads. As such, @samatech/postcss-basics popularity was classified as popular.
We found that @samatech/postcss-basics 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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.