{"library":"esbuild-plugin-glsl","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.4.1","tags":["javascript","esbuild","plugin","glsl","frag","vert","wgsl","shader","import","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install esbuild-plugin-glsl","imports":["import { glsl } from 'esbuild-plugin-glsl'"]},{"cmd":"yarn add esbuild-plugin-glsl","imports":[]},{"cmd":"pnpm add esbuild-plugin-glsl","imports":[]}],"homepage":null,"github":"https://github.com/vanruesc/esbuild-plugin-glsl","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-plugin-glsl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}