Also available on the command line
Minify WGSL shaders directly from your terminal with a single command:
npx miniray shader.wgsl -o shader.min.wgsl
WGSL Minifier - Compress your WebGPU shaders
Minify WGSL shaders directly from your terminal with a single command:
npx miniray shader.wgsl -o shader.min.wgsl