babel-plugin-inline-webgl-constants
JSON →A Babel plugin that replaces long WebGL constants (e.g., gl.TEXTURE_2D) with their corresponding numeric values at build time. Version 1.0.3 is stable, used primarily within the luma.gl ecosystem. It reduces bundle size and avoids runtime lookups, particularly useful for WebGL applications deployed in production. The plugin is lightweight, with no additional runtime dependencies, and integrates seamlessly into existing Babel configurations. It is differentiated by its specific focus on WebGL constants, whereas general constant inlining plugins are broader.
Traffic · last 30 days ↓33% vs prev 7d
total hits 16
actors 5 distinct systems
last hit 5d ago human
top countries 🇩🇪 Germany · 🇨🇦 Canada · 🇸🇬 Singapore · 🇺🇸 United States · PT