fix: generate settings.min.js for production sites without SCRIPT_DEBUG

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>
This commit is contained in:
2026-03-03 14:28:40 +01:00
parent dec5ad7f2d
commit fed42c6769
5 changed files with 199 additions and 34 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long