You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(plugin): rename worker-related options to obfuscateWorker and obfuscateWorkerExcludes
- Replace `worker` with `obfuscateWorker` and `workerExcludes` with `obfuscateWorkerExcludes` for clarity.
- Update related implementation, tests, and documentation to reflect these changes.
@@ -195,8 +195,8 @@ With **7000+ modules** and **400+ bundles** on a **4C 8G** machine:
195
195
| threadPool | Configuration for the thread pool. | boolean \| ({ enable: true; size: number } \| { enable: false }) | false | v1.2.0 |
196
196
| apply | Apply the plugin only for serve or build, or on certain conditions. | 'serve' \| 'build' \| ((this: void, config: UserConfig, env: ConfigEnv) => boolean) | build | v1.1.0 |
197
197
| autoExcludeNodeModules | Enable auto exclude node_modules. | boolean \| ({ enable: true; manualChunks: string[] } \| { enable: false }) | false | v1.0.9 (originally boolean, extended to current type in v1.3.0) |
198
-
|worker| Enable or disable obfuscation for Web Worker bundles. | boolean \| { enable: boolean } |true | v1.10.0 |
199
-
|workerExcludes | Additional excludes only for workers (final: `excludes + workerExcludes`). | (RegExp \| string)[]|[]| v1.10.0 |
198
+
|obfuscateWorker| Enable or disable obfuscation for Web Worker bundles. | boolean \| { enable: boolean } |false| v1.10.0 |
199
+
|obfuscateWorkerExcludes | Additional excludes only for workers (final: `excludes + obfuscateWorkerExcludes`). | (RegExp \| string)[]|[]| v1.10.0 |
200
200
| log | Show or hide log output. | boolean | true | v1.0.4 |
201
201
| enable | Enable or disable the obfuscator. | boolean | true | v1.0.1 |
202
202
| excludes | Bundle names to be excluded. Starting from v1.0.8, RegExp is supported. | (RegExp \| string)[]|[]| v1.0.0 |
0 commit comments