A Vite plugin that integrates the sass package to compile .scss files into CSS within a Vite project. Version 0.1.0 is the initial release. It provides a simple wrapper around sass.render(), checking for .scss extension before transforming. Differentiators: minimal configuration, straightforward CJS/ESM support. However, it lacks advanced features like source maps, custom importer, or automatic dependency tracking. The package is experimental and may have limited community adoption.
npm install vite-plugin-sassNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal setup: install plugin, add to Vite config, import .scss file and see compiled CSS in output.
Explicitly import all partials in your entry .scss file using @use or @forward.
Consider using Vite's built-in CSS handling with sass preprocessor or another plugin that supports source maps.
Upgrade the sass package to latest and adjust plugin usage, or switch to a maintained plugin.
Rename .sass files to .scss or use a different plugin that supports .sass.
Run 'npm install sass --save-dev' to install the peer dependency.
Install sass@1.44.0 or use a different plugin that supports the current sass API.