Codefend 3 Migration Guide
Follow these steps to migrate to Codefend 3:
Navigate to your project directory.
Move your existing
.codefendrc.json
file out of your project structure for backup.Install the latest version of Codefend globally or as a development dependency:
bashnpm i codefend@latest -g
or
bashnpm i codefend@latest -D
In your project, execute the command
codefend -i
to 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 -c
to check for warnings or errors.If all errors are resolved, execute
npm codefend -o
to test the new obfuscation.