{"library":"esbuild-webgl","type":"library","category":null,"description":"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.","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-webgl","imports":["import { webglPlugin } from 'esbuild-plugin-webgl'","import { webglPlugin } from 'esbuild-plugin-webgl'","import type { WebglPluginOptions } from 'esbuild-plugin-webgl'"]},{"cmd":"yarn add esbuild-webgl","imports":[]},{"cmd":"pnpm add esbuild-webgl","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-webgl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}