Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit c3cb091

Browse files
michael-ciniawskyjoshwiens
authored andcommitted
fix(loader): rm unnecessary this.cacheable (caching) (#530)
1 parent eaa5236 commit c3cb091

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

loader.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ var LimitChunkCountPlugin = require("webpack/lib/optimize/LimitChunkCountPlugin"
1313
var NS = fs.realpathSync(__dirname);
1414

1515
module.exports = function(source) {
16-
if(this.cacheable) this.cacheable();
1716
return source;
1817
};
1918

2019
module.exports.pitch = function(request) {
21-
if(this.cacheable) this.cacheable();
2220
var query = loaderUtils.getOptions(this) || {};
2321
var loaders = this.loaders.slice(this.loaderIndex + 1);
2422
this.addDependency(this.resourcePath);

0 commit comments

Comments
 (0)