README
rollup-plugin-glslang
Rollup plugin that uses @webgpu/glslang to compile shaders from glsl to SPIR-V
This project was forked from @javascribble/rollup-plugin-glslang to fix module imports
import { glslang } from '@javascribble/rollup-plugin-glslang';
export default {
...options,
plugins: [
glslang({
source: './',
target: './'
})
]
}