{"library":"esbuild-glsl","type":"library","category":null,"description":"ESBuild plugin to load WebGL shaders from .glsl files, enabling direct import of GLSL shader code into JavaScript or TypeScript projects. Current stable version is 0.0.3 (released Jan 2025). Actively maintained with TypeScript support and shader minification. Differentiators: lightweight, integrates with esbuild and tsup, and compresses shader source for smaller bundles. Designed for WebGL, WebGPU, and Three.js projects needing separate shader files.","language":"javascript","status":"active","version":"0.0.3","tags":["javascript","ESBuild","WebGL","WebGL shaders","WebGL loader","GLSL","shader","ESBuild plugin","loaders","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install esbuild-glsl","imports":["import { webglPlugin } from 'esbuild-plugin-webgl'","import type { ShaderSource } from 'esbuild-plugin-webgl'"]},{"cmd":"yarn add esbuild-glsl","imports":[]},{"cmd":"pnpm add esbuild-glsl","imports":[]}],"homepage":null,"github":"https://github.com/react18-tools/esbuild-plugin-webgl","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-glsl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}