We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb750ef commit 646579eCopy full SHA for 646579e
index.ts
@@ -32,7 +32,7 @@ class WebpackObfuscator {
32
const pluginName = this.constructor.name;
33
compiler.hooks.emit.tap(pluginName, (compilation: compilation.Compilation) => {
34
for (const fileName in compilation.assets) {
35
- if (fileName.toLowerCase().endsWith('.js') || this.shouldExclude(fileName)) {
+ if (!fileName.toLowerCase().endsWith('.js') || this.shouldExclude(fileName)) {
36
return;
37
}
38
0 commit comments