Skip to content

Commit 7c57868

Browse files
committed
Update loader-utils to version 3.x.
1 parent 8f29ae3 commit 7c57868

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = function(source) {
1414
uid.queue = 0
1515
uid.done = false
1616

17-
var options = loaderUtils.getOptions(this) || {}
17+
var options = this.getOptions() || {}
1818

1919
if(options.glsl && options.glsl.chunkPath){
2020
chunkPath = options.glsl.chunkPath

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
},
2525
"homepage": "https://github.com/Makio64/shader-loader",
2626
"dependencies": {
27-
"loader-utils": "^1.1.0"
27+
"loader-utils": "^3.2.0"
2828
}
2929
}

0 commit comments

Comments
 (0)