We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0c0fd3 + d9e36e1 commit ffe3defCopy full SHA for ffe3def
src/detect.js
@@ -37,7 +37,7 @@ function detectDeadCode(compilation, options) {
37
function getPattern({ context, patterns, exclude }) {
38
return patterns
39
.map(pattern => path.resolve(context, pattern))
40
- .concat(exclude.map(pattern => `!${pattern}`))
+ .concat(exclude.map(pattern => `!${path.resolve(context, pattern)}`))
41
.map(convertToUnixPath);
42
}
43
0 commit comments