We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4670941 commit afe8a0dCopy full SHA for afe8a0d
lib/index.js
@@ -93,7 +93,7 @@ module.exports = function (source) {
93
94
const id = hash(
95
isProduction
96
- ? (shortFilePath + '\n' + source)
+ ? (shortFilePath + '\n' + source.replace(/\r\n/g, '\n'))
97
: shortFilePath
98
)
99
0 commit comments