Sass

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, install @snowpack/plugin-sass (Sass automatically included) and add it to your snowpack.config.mjs file. See README on npm or GitHub for plugin options.

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