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) 66 B
import frag from './glslifyshaders/test.frag'; console.log(frag);