Socket
Book a DemoInstallSign in
Socket

@alchemy-js/transmute-sass

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alchemy-js/transmute-sass

Transmute Sass with Alchemy

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Transmute Sass

Transmutes Sass for the Alchemy static site generator.

  • Transmutes Sass content to CSS
  • Transmutes file extension from .scss to .css
  • Options object requires a target entry file for Sass compilation
  • Options object also accepts all valid node-sass options

Installation

npm i @alchemy/transmute-sass

API

This is a wrapper around the node-sass package, accepting all valid options as an object.

const Alchemy = require('@alchemy-js/alchemy');
const sass = require('@alchemy-js/transmute-sass');

Alchemy({
  /* file paths */
}).clean()
  .transmute(sass({
    /* required target/entry to compile sass*/
    target: 'main',
    /* accepts valid node-sass options as an object */
    sass: { includePaths: ['./data/styles'] },
  })
  .build()

License

MIT

Keywords

static

FAQs

Package last updated on 09 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.