esbuild plugin for compiling Sass/SCSS files. v1.0.1 (no further updates since 2021). Integrates the node-sass or dart-sass compiler into esbuild's build pipeline. Supports custom Sass options (except file). Differentiates from alternatives like esbuild-sass-plugin by its minimal API and lack of active maintenance. Only peer dependency is esbuild >=0.11.14. Ships TypeScript types.
Verified import paths — ran on the pinned version, not inferred.
Package is ESM-only as of v1.0.1; require() will fail unless using dynamic import or a bundler that can handle ESM.
Options is a TypeScript type, not a runtime export.
In CJS, the default export is accessed via .default due to ESM compatibility.
Shows how to integrate Sass compilation into an esbuild build script using the plugin.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.