Files
WPS3Media/package.json
Malin fed42c6769 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>
2026-03-03 14:28:40 +01:00

20 lines
518 B
JSON

{
"name": "amazon-s3-and-cloudfront-pro",
"version": "3.2.12",
"private": true,
"scripts": {
"build": "rollup -c rollup.config.mjs",
"watch": "rollup -c rollup.config.mjs --watch"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-terser": "^0.4.4",
"rollup": "^3.29.4",
"rollup-plugin-css-only": "^4.5.0",
"rollup-plugin-svelte": "^7.1.6",
"svelte": "4.2.19",
"svelte-spa-router": "^3.3.0"
}
}