Skip to content

Commit 0e9be1a

Browse files
committed
restored cachable
1 parent 808b9dd commit 0e9be1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

loader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module.exports = function (source) {
1818
};
1919

2020
module.exports.pitch = function (request) {
21+
if(this.cacheable) this.cacheable();
2122
var query = loaderUtils.getOptions(this) || {};
2223
var loaders = this.loaders.slice(this.loaderIndex + 1);
2324
this.addDependency(this.resourcePath);

0 commit comments

Comments
 (0)