webpack-glsl-loader icon indicating copy to clipboard operation
webpack-glsl-loader copied to clipboard

A webpack loader for glsl shaders - includes support for nested imports.

Results 5 webpack-glsl-loader issues
Sort by recently updated
recently updated
newest added

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.

enhancement

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: ![image](https://user-images.githubusercontent.com/3408176/38283393-a9374184-376a-11e8-8067-fe9a05907152.png) After change analysis: ![image](https://user-images.githubusercontent.com/3408176/38283420-caab47e8-376a-11e8-8586-f0efc3079d5a.png) Note that...