Skip to content

Commit 4fda3b7

Browse files
author
Val
committed
loader became cachable
1 parent 76405ad commit 4fda3b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
var utils = require('loader-utils');
22

33
module.exports = function (source) {
4+
this.cacheable();
45
var query = utils.parseQuery(this.query);
56

67
if (typeof query.search !== 'undefined' && typeof query.replace !== 'undefined') {

0 commit comments

Comments
 (0)