exhibit-builder-sass

Exhibit builder for compiling SCSS files with node-sass

Usage no npm install needed!

<script type="module">
  import exhibitBuilderSass from 'https://cdn.skypack.dev/exhibit-builder-sass';
</script>

README

sass

Exhibit.js builder plugin

Compiles SCSS files with node-sass.

$ npm install -D exhibit-builder-sass

NPM version Build Status Dependency Status [![devDependency Status][devdepstat-image]][devdepstat-url] [![peerDependency Status][peerdepstat-image]][peerdepstat-url]

Usage

  .use('sass', options)
  • Non-SCSS files are passed straight through
  • As usual with Sass, underscored filenames (e.g. styles/_foo.scss) are considered partials and are not compiled (but may be imported)

Options

The following node-sass options may be set (see node-sass docs for definitions):

Additional options

include (string/array/function) — default: '**/*.scss'

Which files to process. Follows Exhibit’s glob convention.


License

MIT