Snowpack 3.0 is out now! Read the announcement post →

Sass

This article is a stub, you can help expand it into how-to guide format

Sass is a stylesheet language that’s compiled to CSS. It allows you to use variables, nested rules, mixins, functions, and more, all with a fully CSS-compatible syntax. Sass helps keep large stylesheets well-organized and makes it easy to share design within and across projects.

To use Sass with Snowpack: use @snowpack/plugin-sass.

  // snowpack.config.mjs
export default {
plugins: [
+ '@snowpack/plugin-sass',
],
};