diff --git a/lib/index.js b/lib/index.js index 3ca9d1e9e..990c86235 100644 --- a/lib/index.js +++ b/lib/index.js @@ -93,7 +93,7 @@ module.exports = function (source) { const id = hash( isProduction - ? (shortFilePath + '\n' + source) + ? (shortFilePath + '\n' + source.replace(/\r\n/g, '\n')) : shortFilePath )