Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
esbuild-postcss-plugin
Advanced tools
This plugin for postcss built with intention to create fast, high-performance, reliable and tested solution to ESBuild with postcss and post-css modules
npm i esbuild-postcss-plugin
Add plugin to ESBuild build config
const postCSSPlugin = require("esbuild-postcss-plugin");
plugins: [postCSSPlugin()];
A regular expression to filter source files processed by plugin
Default: /\.css$/
postCSSPlugin({ filter: /\.css$/ });
Cache gives more speed on rebuild. Unfortunately, in cases when postcss transform result depends on other files, cache will cause incorrect behavior. For example, tailwindcss scans template files to build final CSS, and changes in templates require CSS cache invalidation.
Default: false
postCSSPlugin({ disableCache: true });
A regular expression to filter source files processed with postcss-modules
Default: /\.module.css$/
postCSSPlugin({ modulesFilter: /\.module.css$/ })
See postcss-modules package options: https://github.com/madyankin/postcss-modules
Warning! Loader
, resolve
and root
options will be ignored.
Default: empty
postCSSPlugin({
modulesFilter: /\.css$/,
modulesOptions: {
globalModulePaths: [/index.css$/],
}
})
List of AcceptedPlugin for postcss.
Default: []
postCSSPlugin({
plugins: [require("autoprefixer")]
})
FAQs
ESBuild plugin for PostCSS with CSS modules
The npm package esbuild-postcss-plugin receives a total of 69 weekly downloads. As such, esbuild-postcss-plugin popularity was classified as not popular.
We found that esbuild-postcss-plugin 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.