MQuy/webpack-deadcode-plugin

Exclude option dose not work

wangzhengbo opened this issue · 0 comments

function getPattern({ context, patterns, exclude }) {
return patterns
.map(pattern => path.resolve(context, pattern))
.concat(exclude.map(pattern => !${pattern}))
.map(convertToUnixPath);
}

exclude dose not use context as patterns did.