We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aaedc7 commit a3b4007Copy full SHA for a3b4007
lib/loaders/pitcher.js
@@ -128,7 +128,7 @@ module.exports.pitch = function (remainingRequest) {
128
if (query.type === `template`) {
129
const path = require('path')
130
const cacheLoader = cacheDirectory && cacheIdentifier
131
- ? [`cache-loader?${JSON.stringify({
+ ? [`${require.resolve('cache-loader')}?${JSON.stringify({
132
// For some reason, webpack fails to generate consistent hash if we
133
// use absolute paths here, even though the path is only used in a
134
// comment. For now we have to ensure cacheDirectory is a relative path.
0 commit comments