Skip to content

Commit 64eb095

Browse files
committed
added missing shouldExclude call. version update
1 parent 92f979f commit 64eb095

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
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(),

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack-obfuscator",
3-
"version": "0.6.1",
3+
"version": "0.6.2",
44
"description": "javascript-obfuscator plugin for Webpack",
55
"keywords": [
66
"obfuscator",
@@ -14,7 +14,7 @@
1414
],
1515
"main": "index.js",
1616
"dependencies": {
17-
"javascript-obfuscator": "^0.6.0",
17+
"javascript-obfuscator": "^0.6.1",
1818
"multimatch": "^2.0.0",
1919
"webpack-core": "^0.6.8"
2020
},

0 commit comments

Comments
 (0)