node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

glslifyify

glslifyify experimental

A browserify transform stream for Chris Dickinson's glslify.

Works just the same, however instead of compiling using a separate CLI tool you can just require('./some-shader.glsl') and have it return a bundled shader string.

glslifyify

Usage

browserify index.js -t glslifyify > bundle.js