{"library":"babel-plugin-inline-webgl-constants","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","babel-plugin","webgl","strip gl constants"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-inline-webgl-constants","imports":["import inlineWebglConstants from 'babel-plugin-inline-webgl-constants';","import { INLINE_WEBGL_CONSTANTS } from 'babel-plugin-inline-webgl-constants';","import { WebGLConstants } from 'babel-plugin-inline-webgl-constants';"]},{"cmd":"yarn add babel-plugin-inline-webgl-constants","imports":[]},{"cmd":"pnpm add babel-plugin-inline-webgl-constants","imports":[]}],"homepage":null,"github":"https://github.com/visgl/luma.gl","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-inline-webgl-constants","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-inline-webgl-constants/compatibility"}}