We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecea3c3 commit b526349Copy full SHA for b526349
lib/loader.js
@@ -82,7 +82,7 @@ module.exports = function (content) {
82
process.cwd()
83
const sourceRoot = path.dirname(path.relative(context, filePath))
84
const shortFilePath = path.relative(context, filePath).replace(/^(\.\.[\\\/])+/, '')
85
- const moduleId = 'data-v-' + hash(isProduction ? content : shortFilePath)
+ const moduleId = 'data-v-' + hash(isProduction ? (shortFilePath + '\n' + content) : shortFilePath)
86
87
let cssLoaderOptions = ''
88
const cssSourceMap =
0 commit comments