
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@chialab/esbuild-plugin-postcss
Advanced tools
A CSS loader plugin for esbuild that uses postcss as preprocessor.
Esbuild Plugin Postcss • A CSS loader plugin for esbuild that uses postcss as preprocessor.
$ npm i @chialab/esbuild-plugin-postcss -D
$ yarn add @chialab/esbuild-plugin-postcss -D
import esbuild from 'esbuild';
import postcssPlugin from '@chialab/esbuild-plugin-postcss';
await esbuild.build({
plugins: [
postcssPlugin(),
],
});
This plugin looks for a postcss configuration in the project and fallbacks to out custom postcss-preset-env.
The plugin automatically tries to load the @chialab/postcss-plugin-dart-sass
when it processes .scss
files. Please make sure to have installed the optional dependency in order to correctly transpiler Sass files:
$ npm i @chialab/postcss-plugin-dart-sass -D
$ yarn add @chialab/postcss-plugin-dart-sass -D
Esbuild Plugin Postcss is released under the MIT license.
FAQs
A CSS loader plugin for esbuild that uses postcss as preprocessor.
The npm package @chialab/esbuild-plugin-postcss receives a total of 303 weekly downloads. As such, @chialab/esbuild-plugin-postcss popularity was classified as not popular.
We found that @chialab/esbuild-plugin-postcss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.