babel-plugin-minprops
JSON →Babel plugin that minifies object properties by renaming those prefixed with a configurable marker (default `$__`) to short names in production builds. Version 2.0.1 is stable, with no recent updates. Unlike general minifiers that cannot safely rename properties due to cross-file references, minprops explicitly marks internal properties for renaming, reducing bundle size. It integrates with Babel and supports configuration via package.json. Alternative to manual property mangling or closure compiler's property renaming, but requires prefixing all internal properties.
Resources
packagebabel-plugin-minprops ↗
API endpoints
full doc /v1/registry/babel-plugin-minprops