this.resourcePath will avoid not skipping resource file with query params. (#588)
This commit is contained in:
parent
810771e316
commit
eeb94b565f
|
|
@ -17,7 +17,7 @@ module.exports = function (source) {
|
|||
return source;
|
||||
}
|
||||
// Skip .js files
|
||||
if (/\.js$/.test(this.request)) {
|
||||
if (/\.js$/.test(this.resourcePath)) {
|
||||
return source;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue