postcss-loader
Advanced tools
Comparing version 2.0.9 to 2.0.10
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.0.10"></a> | ||
## [2.0.10](https://github.com/postcss/postcss-loader/compare/v2.0.9...v2.0.10) (2018-01-03) | ||
### Bug Fixes | ||
* **index:** copy loader `options` before modifying ([#326](https://github.com/postcss/postcss-loader/issues/326)) ([61ff03c](https://github.com/postcss/postcss-loader/commit/61ff03c)) | ||
<a name="2.0.9"></a> | ||
@@ -7,0 +17,0 @@ ## [2.0.9](https://github.com/postcss/postcss-loader/compare/v2.0.8...v2.0.9) (2017-11-24) |
@@ -43,3 +43,3 @@ 'use strict' | ||
module.exports = function loader (css, map) { | ||
const options = loaderUtils.getOptions(this) || {} | ||
const options = Object.assign({}, loaderUtils.getOptions(this)) | ||
@@ -55,3 +55,3 @@ validateOptions(require('./options.json'), options, 'PostCSS Loader') | ||
const length = Object.keys(options) | ||
.filter((option) => { | ||
.filter((option) => { | ||
switch (option) { | ||
@@ -58,0 +58,0 @@ // case 'exec': |
{ | ||
"name": "postcss-loader", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "PostCSS loader for webpack", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.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
27781