🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

node-sass-css-importer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sass-css-importer

css importer for node-sass

latest
npmnpm
Version
0.0.3
Version published
Weekly downloads
260
26.83%
Maintainers
1
Weekly downloads
 
Created
Source

Node Sass CSS importer Build Status npmjs

The Node Sass CSS Importer allows you to import a CSS file into Sass. Just like the Sass CSS importer.

Stylesheet Syntax

The .css extension triggers special behavior in Sass so you cannot import a file with a CSS extension. To work around this, you must use a special prefix on the import string and omit the extension.

@import "CSS:some_folder/some_css_file"

Installation

npm install node-sass-css-importer --save[-dev]

Usage

var sass = require('node-sass')
  , CssImporter = require('node-sass-css-importer')({
      import_paths: ['app/assets/stylesheets', 'app/assets/components']
    });

sass.renderSync({
  file: 'source.scss',
  importer: [CssImporter]
});

Keywords

node

FAQs

Package last updated on 28 Oct 2015

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