Socket
Socket
Sign inDemoInstall

sass-loader

Package Overview
Dependencies
Maintainers
3
Versions
107
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 1.0.3 to 1.0.4

5

CHANGELOG.md
Changelog
---------
### 1.0.4
- Fix wrong source-map urls [#123](https://github.com/jtangelder/sass-loader/pull/123)
- Include source-map contents by default [#104](https://github.com/jtangelder/sass-loader/pull/104)
### 1.0.3

@@ -5,0 +10,0 @@

@@ -137,2 +137,9 @@ 'use strict';

opt.sourceMap = this.options.output.path + '/sass.map';
opt.omitSourceMapUrl = true;
// If sourceMapContents option is not set, set it to true otherwise maps will be empty/null
// when exported by webpack-extract-text-plugin.
if ('sourceMapContents' in opt === false) {
opt.sourceMapContents = true;
}
}

@@ -139,0 +146,0 @@

10

package.json
{
"name": "sass-loader",
"version": "1.0.3",
"version": "1.0.4",
"description": "Sass loader for webpack",

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

"devDependencies": {
"css-loader": "^0.9.1",
"css-loader": "^0.15.6",
"enhanced-require": "^0.5.0-beta6",
"extract-text-webpack-plugin": "^0.3.8",
"extract-text-webpack-plugin": "^0.8.2",
"jshint": "^2.8.0",

@@ -41,4 +41,4 @@ "mocha": "^2.0.1",

"raw-loader": "^0.5.1",
"should": "^5.0.1",
"style-loader": "^0.8.3",
"should": "^7.0.2",
"style-loader": "^0.12.3",
"webpack": "^1.4.0",

@@ -45,0 +45,0 @@ "webpack-dev-server": "^1.7.0"

@@ -5,3 +5,3 @@ # Sass loader for [webpack](http://webpack.github.io/)

`npm install sass-loader`
`npm install sass-loader --save-dev`

@@ -135,3 +135,3 @@ Starting with `1.0.0`, the sass-loader requires [node-sass](https://github.com/sass/node-sass) as [`peerDependency`](https://docs.npmjs.com/files/package.json#peerdependencies). Thus you are able to specify the required version accurately.

If you want to view the original Sass files inside Chrome and even edit it, [there's a good blog post](https://medium.com/@toolmantim/getting-started-with-css-sourcemaps-and-in-browser-sass-editing-b4daab987fb0). Checkout [test/sourceMap](https://github.com/jtangelder/sass-loader/tree/master/test) for a running example. Make sure to serve the content with an HTTP server.
If you want to edit the original Sass files inside Chrome, [there's a good blog post](https://medium.com/@toolmantim/getting-started-with-css-sourcemaps-and-in-browser-sass-editing-b4daab987fb0). Checkout [test/sourceMap](https://github.com/jtangelder/sass-loader/tree/master/test) for a running example. Make sure to serve the content with an HTTP server.

@@ -138,0 +138,0 @@ ## License

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