diff --git a/loader.js b/loader.js index 057763c2..06e649e1 100644 --- a/loader.js +++ b/loader.js @@ -13,12 +13,10 @@ var LimitChunkCountPlugin = require("webpack/lib/optimize/LimitChunkCountPlugin" var NS = fs.realpathSync(__dirname); module.exports = function(source) { - if(this.cacheable) this.cacheable(); return source; }; module.exports.pitch = function(request) { - if(this.cacheable) this.cacheable(); var query = loaderUtils.getOptions(this) || {}; var loaders = this.loaders.slice(this.loaderIndex + 1); this.addDependency(this.resourcePath);