rollup-plugin-glsl-optimize

Import GLSL source files as strings. Pre-processed, validated and optimized with Khronos Group SPIRV-Tools. Supports glslify.

@pizca/esbuild-webgl

An esbuild plugin to import WebGL shader files as strings, with optional comment stripping for cleaner bundles.