esbuild-plugin-glsl

JSON →
library 1.4.1 ·javascript
verified Apr 27, 2026

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.

total hits 8
actors 2 distinct systems
last hit 21h ago AhrefsBot
GPTBot
2
Humans
3

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