Skip to content

Commit 6adc86d

Browse files
committed
added missing shouldExclude call. version update
1 parent a8de620 commit 6adc86d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ class WebpackObfuscator {
3838
});
3939

4040
files.forEach((file) => {
41+
if (this.shouldExclude(file, this.excludes)) {
42+
return;
43+
}
44+
4145
let asset = compilation.assets[file],
4246
obfuscationResult: any = JavaScriptObfuscator.obfuscate(
4347
asset.source(),

0 commit comments

Comments
 (0)