Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sass-loader

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-loader - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

index.js

@@ -7,2 +7,4 @@ var utils = require('loader-utils');

module.exports = function(content) {
var root;
this.cacheable && this.cacheable();

@@ -18,2 +20,6 @@

opt.includePaths.push(path.dirname(this.resourcePath));
if (this.options.resolve && this.options.resolve.root) {
root = [].concat(this.options.resolve.root);
opt.includePaths = opt.includePaths.concat(root);
}

@@ -20,0 +26,0 @@ // output compressed by default

2

package.json
{
"name": "sass-loader",
"version": "0.0.1",
"version": "0.0.2",
"description": "SASS loader for Webpack",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,2 +17,4 @@ # sass loader for webpack

You can even go next level, by using it with the [`css-loader`](https://github.com/webpack/css-loader) to import linked files.
### webpack config

@@ -33,3 +35,3 @@

Then you only need to write: `require("./file.scss")`
Then you only need to write: `require("./file.scss")`. See [`node-sass`](https://github.com/andrew/node-sass) for the available options.

@@ -36,0 +38,0 @@ ## Install

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc