- Convert params to compact array format (type-based dispatch) - Intern duplicate property names into string table - Use negative indices for object references to distinguish from string indices - Rename objects.json → webhooks.objects.json, add webhooks.strings.json - Move event filters to JSON for maintainability - Add CI validation job to verify optimization correctness Reduces combined minified size by ~67% (453 KB → 148 KB), ~27% gzipped (23 KB → 17 KB).
15 lines
273 B
Plaintext
15 lines
273 B
Plaintext
*/node_modules
|
|
*/dist
|
|
lerna-debug.log
|
|
node_modules
|
|
.DS_Store
|
|
|
|
# Minified JSON (generated at build time)
|
|
*.min.json
|
|
|
|
# Full webhooks source (generated by update-webhooks, used for validation tests)
|
|
*.full.json
|
|
|
|
# Validation marker (generated by tests)
|
|
*.validation-complete
|