Precise DOM morphing
morphing typescript dom

Extract Terser config

+10 -1
+1 -1
package.json
··· 18 18 "watch": "tsc -w", 19 19 "test:watch": "npm run test -- --watch", 20 20 "lint": "prettier --check ./src ./dist ./test", 21 - "minify": "terser dist/morphlex.js -o dist/morphlex.min.js -c -m --module", 21 + "minify": "terser dist/morphlex.js -o dist/morphlex.min.js --config-file terser-config.json", 22 22 "prepare": "npm run build && npm run minify", 23 23 "ship": "npm run prepare && npm run test && npm run lint && npm publish", 24 24 "format": "prettier --write ./src ./dist ./test",
+9
terser-config.json
··· 1 + { 2 + "compress": true, 3 + "mangle": { 4 + "properties": { 5 + "regex": "^_" 6 + } 7 + }, 8 + "module": true 9 + }