esbuild-plugin-glsl
JSON →An esbuild plugin for importing GLSL, WGSL, frag, and vert shader files as strings with optional minification. Current stable version is 1.4.1, released with regular updates. It integrates tightly with esbuild's build process, supporting minify, resolveIncludes, and preserveLegalComments options. Unlike generic text loaders, it provides shader-aware features like include resolution and comment preservation. Requires Node >= 18 and esbuild 0.x.x, ships TypeScript type definitions, making it ideal for WebGL/WebGPU projects using esbuild.
Traffic · last 30 days ↓33% vs prev 7d
total hits 8
actors 2 distinct systems
last hit 21h ago AhrefsBot
top countries 🇨🇦 Canada · 🇪🇸 Spain · 🇺🇸 United States · 🇨🇳 China
Resources
API endpoints
full doc /v1/registry/esbuild-plugin-glsl