webpack-glsl-loader
webpack-glsl-loader copied to clipboard
A webpack loader for glsl shaders - includes support for nested imports.
Hi - just noticed the npm latest version does not reflect the code on github by using `npm install --save-dev webpack-glsl-loader` Thanks!
This is a feature request. It would be great to validate the shader code and throw an error during loading so that we can quickly fix the error.
Currently the resolve line prepends a './' to the import key, meaning that if I try to reference code that lives in an external package, it will fail to resolve....
Is there a way to include some code on multiple fragments so that some logic stays in one place? I believe sometimes I've seen using `#include` for example, perhaps to...
This converts `module.exports =` to `export default` which will allow webpack to scope hoist and better tree shake libs like threeJS Before analysis:  After change analysis:  Note that...