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.
shouldExclude
1 parent 92f979f commit 64eb095Copy full SHA for 64eb095
index.ts
@@ -38,6 +38,10 @@ class WebpackObfuscator {
38
});
39
40
files.forEach((file) => {
41
+ if (this.shouldExclude(file, this.excludes)) {
42
+ return;
43
+ }
44
+
45
let asset = compilation.assets[file],
46
obfuscationResult: any = JavaScriptObfuscator.obfuscate(
47
asset.source(),
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "webpack-obfuscator",
3
- "version": "0.6.1",
+ "version": "0.6.2",
4
"description": "javascript-obfuscator plugin for Webpack",
5
"keywords": [
6
"obfuscator",
@@ -14,7 +14,7 @@
14
],
15
"main": "index.js",
16
"dependencies": {
17
- "javascript-obfuscator": "^0.6.0",
+ "javascript-obfuscator": "^0.6.1",
18
"multimatch": "^2.0.0",
19
"webpack-core": "^0.6.8"
20
},
0 commit comments