Skip to content

Commit

Permalink
Merge b2b65f9 into b9c1add
Browse files Browse the repository at this point in the history
  • Loading branch information
teazean committed Dec 12, 2017
2 parents b9c1add + b2b65f9 commit 399fb95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ module.exports = function loader (css, map) {
css = this.exec(css, this.resource)
}

if (!sourceMap && map) {
if (sourceMap === undefined && 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`)
}

Expand Down

0 comments on commit 399fb95

Please sign in to comment.