We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28ec37a commit adc6dd6Copy full SHA for adc6dd6
lib/loaders/pitcher.js
@@ -112,9 +112,9 @@ module.exports.pitch = function (remainingRequest) {
112
// For some reason, webpack fails to generate consistent hash if we
113
// use absolute paths here, even though the path is only used in a
114
// comment. For now we have to ensure cacheDirectory is a relative path.
115
- cacheDirectory: path.isAbsolute(cacheDirectory)
+ cacheDirectory: (path.isAbsolute(cacheDirectory)
116
? path.relative(process.cwd(), cacheDirectory)
117
- : cacheDirectory,
+ : cacheDirectory).replace(/\\/g, '/'),
118
cacheIdentifier: hash(cacheIdentifier) + '-vue-loader-template'
119
})}`]
120
: []
0 commit comments