WordPress loads settings.min.js instead of settings.js when SCRIPT_DEBUG
is false (the default on production sites). The old settings.min.js from
the original plugin was still present and caused a crash because it
referenced licence.is_set which could be undefined.
- Add @rollup/plugin-terser to build dependencies
- Update rollup.config.mjs to output both settings.js (dev) and
settings.min.js (prod, minified) from the same source
- Rebuild both outputs with all licence-removal changes included
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>