Skip to content

Commit

Permalink
refactor: remove this.cacheable (#473)
Browse files Browse the repository at this point in the history
Webpack 2 always cacheable all loaders by default.
  • Loading branch information
evilebottnawi authored and joshwiens committed Jun 14, 2017
1 parent 876876a commit 0d6d66d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ function sassLoader(content) {
throw new Error("Synchronous compilation is not supported anymore. See https://github.com/webpack-contrib/sass-loader/issues/333");
}

this.cacheable();

const options = normalizeOptions(this, content, webpackImporter(
resourcePath,
pify(this.resolve.bind(this)),
Expand Down

0 comments on commit 0d6d66d

Please sign in to comment.