esbuild-plugin-postcss-literal

JSON →
library 0.2.1 ·javascript
verified Jun 4, 2026

PostCSS tagged template literals plugin for esbuild (v0.2.1). Enables processing CSS-in-JS tagged template literals (e.g., css`...`) through PostCSS pipelines during esbuild builds. Integrates with postcss-load-config for plugin configuration (e.g., postcss-nesting). Provides options like filter, namespace, tag name, and minify. Requires esbuild ^0.9.0, postcss ^8.0.0, and postcss-load-config ^3.0.0 as peer dependencies. Different from other PostCSS esbuild plugins by focusing specifically on template literals rather than CSS files.