esbuild-plugin-webgl

JSON →
library 0.0.3 ·javascript
verified May 1, 2026

ESBuild plugin that allows importing WebGL shaders from .glsl files directly into JavaScript or TypeScript projects. Currently at version 0.0.3, this plugin compresses GLSL code to reduce bundle size and promotes separation of concerns by keeping shaders in dedicated files rather than inline strings. It integrates with esbuild and tsup workflows, provides TypeScript type definitions, and supports common build configurations. Unlike manual shader loading or inline strings, this plugin automates shader compilation during the build step.

total hits 8
actors 3 distinct systems
last hit 4d ago AhrefsBot
GPTBot
2
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · GF · 🇪🇸 Spain