Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@geoapps/sass2css

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geoapps/sass2css

Converting library SASS to CSS

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

@geoapps/sass2css

This tool is created to convert input SASS file to output CSS file with proper importer function allowing to use ~ in imported modules' names.

Installation

npm install @geoapps/sass2css --dev
yarn add @geoapps/sass2css --dev

Usage

  • CLI:

    sass2css --base-path /path/to/project/root/dir
    
  • Programmatic:

    const sass2css = require('@geoapps/sass2css');
    sass2css({
      basePath: '/path/to/project/root/dir'
    });
    

Options

Here is a list of all available options for CLI (programmatic) usage:

  • --base-path (basePath) Path of base directory to resolve everything to (default is . meaning directory of CLI execution, usually it's a root directory of repository).
  • --input-dir-name (inputDirName) Relative path to input directory (default is src/sass).
  • --input-file-name (inputFileName) Name of input SASS file (default is index.sass).
  • --input-img-dir-name (inputImgDirName) Relative path to directory with source images (default is src/img).
  • --output-dir-name (outputDirName) Relative path to output directory (default is dist/css).
  • --output-img-dir-name (outputImgDirName) Relative path to output directory for images (default is dist/img).
  • --modes (modes) Output modes (default is ['development', 'production']).

Changelog

List of code changes for each version is available.

FAQs

Package last updated on 09 Apr 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