UNPKG

rollup-plugin-glsl-optimize

Version:

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

3 lines (2 loc) 59 B
import frag from './shaders/test.frag'; console.log(frag);