Skip to content

Commit e0e53d5

Browse files
committed
Obfuscator plugin now uses the latest webpack stage to prevent various conflicts between other plugins
1 parent 4e726bc commit e0e53d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack-obfuscator",
3-
"version": "3.2.1",
3+
"version": "3.3.0",
44
"description": "javascript-obfuscator plugin for Webpack@5",
55
"keywords": [
66
"obfuscator",

plugin/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class WebpackObfuscatorPlugin {
5353
compilation.hooks.processAssets.tap(
5454
{
5555
name: 'WebpackObfuscator',
56-
stage: Compilation.PROCESS_ASSETS_STAGE_DERIVED
56+
stage: Compilation.PROCESS_ASSETS_STAGE_REPORT
5757
},
5858
(assets) => {
5959
let identifiersPrefixCounter: number = 0;

0 commit comments

Comments
 (0)