
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600Ć Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ć faster than humans.
esbuild-plugin-css-module
Advanced tools
We recommend using
esbuild-plugin-react18-css
ā ESBuild plugin to handle CSS/SCSS modules, autoprefixer, etc. while bundling libraries
ā Create fully treeshakable libraries (import from esbuild-plugin-react18-css/client/component)
ā Use CSS/SCSS modules - automatically converted to BEM like CSS
ā fully treeshakable CSS - import only the CSS files your users need
ā Full TypeScript Support
ā Unleash the full power of React18 Server components
ā Works with all build systems/tools/frameworks for React18
$ pnpm add esbuild-plugin-css-module
or
$ npm install esbuild-plugin-css-module
or
$ yarn add esbuild-plugin-css-module
tsup
// tsup.config.ts or tsup.config.js
import { defineConfig } from "tsup";
import cssModulePlugin from "esbuild-plugin-css-module";
export default defineConfig(options => ({
...
esbuildPlugins:[cssModulePlugin()]
}));
import cssModulePlugin from "esbuild-plugin-css-module";
esbuild.build({
...
plugins: [cssModulePlugin()],
});
Want handson course for getting started with Turborepo? Check out React and Next.js with TypeScript and The Game of Chess with Next.js, React and TypeScrypt
Licensed as MIT open source.
Solution adopte from this discussion.
with š by Mayank Kumar Chaudhari
```FAQs
ESBuild plugin to handle CSS modules
The npm package esbuild-plugin-css-module receives a total of 765 weekly downloads. As such, esbuild-plugin-css-module popularity was classified as not popular.
We found that esbuild-plugin-css-module 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ć faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.