Codefend 3 Migration Guide
Follow these steps to migrate to Codefend 3:
Navigate to your project directory.
Move your existing
.codefendrc.jsonfile out of your project structure for backup.Install the latest version of Codefend globally or as a development dependency:
bashnpm i codefend@latest -gor
bashnpm i codefend@latest -DIn your project, execute the command
codefend -ito generate a new configuration file based on Codefend v3.Re-insert all your custom configuration files, referring to the configuration section in the docs.
Run
npm codefend -cto check for warnings or errors.If all errors are resolved, execute
npm codefend -oto test the new obfuscation.