An esbuild plugin that compiles SCSS/SASS files to CSS during the build process. Version 1.0.0 uses the 'sass' package under the hood. It replaces an older plugin with a similar name that became unmaintained. No specific release cadence. Key differentiators: simple setup, works with esbuild's plugin system, and handles SCSS imports seamlessly. Ideal for projects already using esbuild and wanting to integrate SCSS compilation without additional loaders.
npm install esbuild-plugin-scssNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: import the plugin and pass it to esbuild's plugins array. Assumes 'sass' is installed.
Use 'esbuild-plugin-scss' instead of 'esbuild-sass-plugin'.
Install 'sass' alongside 'esbuild-plugin-scss': npm install sass
If you need custom sass options, consider forking the plugin or using a different plugin like 'esbuild-sass'.
Run: npm install sass
Use: plugins: [esbuildSCSS] instead of plugins: [esbuildSCSS()]
Ensure the plugin is added to the plugins array: plugins: [esbuildSCSS]