Configuration Reference
Enabling Obfuscation
Add the acodez key to your project's package.json:
json
{
"name": "my-plugin",
"version": "1.0.0",
"acodez": {
"obfuscate": true
}
}| Option | Type | Default | Description |
|---|---|---|---|
obfuscate | boolean | false | Enables javascript-obfuscator on production builds |
WARNING
Obfuscation is only applied during npm run build. It is never applied during npm run dev.
Esbuild Target
acodez targets chrome90 by default, which is the minimum WebView version supported by Acode on Android. This means you can safely use:
async/awaitOptional chaining(?.)Nullish coalescing(??)ES Modules(import/export)- All modern ES2020 features
No Additional Config Files Needed
acodez is intentionally zero-config. There is no acodez.config.js file. All configuration lives inside your existing package.json under the "acodez" key.