postcss-loader
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.1.5"></a> | ||
## [2.1.5](https://github.com/postcss/postcss-loader/compare/v2.1.4...v2.1.5) (2018-05-04) | ||
### Bug Fixes | ||
* **index:** remove `sourceMap` warning ([#361](https://github.com/postcss/postcss-loader/issues/361)) ([4416791](https://github.com/postcss/postcss-loader/commit/4416791)) | ||
<a name="2.1.4"></a> | ||
@@ -7,0 +17,0 @@ ## [2.1.4](https://github.com/postcss/postcss-loader/compare/v2.1.3...v2.1.4) (2018-04-16) |
@@ -140,6 +140,2 @@ 'use strict' | ||
if (!sourceMap && map) { | ||
this.emitWarning(`\n\n ⚠️ PostCSS Loader\n\nPrevious source map found, but options.sourceMap isn't set.\nIn this case the loader will discard the source map entirely for performance reasons.\nSee https://github.com/postcss/postcss-loader#sourcemap for more information.\n\n`) | ||
} | ||
if (sourceMap && typeof map === 'string') map = JSON.parse(map) | ||
@@ -146,0 +142,0 @@ if (sourceMap && map) options.map.prev = map |
{ | ||
"name": "postcss-loader", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "PostCSS loader for webpack", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -271,4 +271,2 @@ [![npm][npm]][npm-url] | ||
> :warning: If a previous loader like e.g `sass-loader` is applied and it's `sourceMap` option is set, but the `sourceMap` option in `postcss-loader` is omitted, previous source maps will be discarded by `postcss-loader` **entirely**. | ||
**webpack.config.js** | ||
@@ -275,0 +273,0 @@ ```js |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29600
233
467