From 6144ae9e323a83649022e6f81c2b2c70ac9b49c4 Mon Sep 17 00:00:00 2001 From: Friederike Schertel Date: Sat, 14 Sep 2024 13:08:04 +0000 Subject: [PATCH] mangle all the things --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 43d8bf0..c23c203 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "README.md" ], "scripts": { - "shrink": "npx uglify-js -o dist/cal.min.js --compress --mangle -- src/calendar.js", + "shrink": "npx uglify-js -o dist/cal.min.js --compress --mangle --mangle-props -- src/calendar.js", "build": "mkdir -p dist && cp src/calendar.js dist && npm run shrink && cp build/index.html dist/example.html", "serve": "cp src/calendar.js build && npx serve build -p 8000", "test": "jest",