Skip to content

Commit 0d6d66d

Browse files
evilebottnawijoshwiens
authored andcommitted
refactor: remove this.cacheable (#473)
Webpack 2 always cacheable all loaders by default.
1 parent 876876a commit 0d6d66d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/loader.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ function sassLoader(content) {
3535
throw new Error("Synchronous compilation is not supported anymore. See https://github.com/webpack-contrib/sass-loader/issues/333");
3636
}
3737

38-
this.cacheable();
39-
4038
const options = normalizeOptions(this, content, webpackImporter(
4139
resourcePath,
4240
pify(this.resolve.bind(this)),

0 commit comments

Comments
 (0)