Skip to content

Commit e169b25

Browse files
committed
Add css resource as dependency to trigger rebuilds
1 parent 309a7db commit e169b25

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
@@ -3,6 +3,7 @@ var loaderUtils = require('loader-utils');
33

44
module.exports = function(source, map) {
55
this.cacheable && this.cacheable();
6+
this.addDependency(this.resourcePath);
67
var callback = this.async();
78

89
// Pass on query parameters as an options object to the DtsCreator. This lets

0 commit comments

Comments
 (0)