{"library":"shader-loader","type":"library","category":null,"description":"A Webpack loader for GLSL shader files (.glsl, .vs, .fs) that supports shader chunk/inclusion syntax ($xxx). Current version 1.3.1, last updated 2017, no active development. Works with Webpack 2 and 3 (not Webpack 4+). Differentiates from raw-loader or glslify by allowing inclusion of GLSL chunks via $include syntax directly in shader source, inspired by cabbibo's ShaderLoader. Suitable for legacy projects using Three.js or similar with Webpack 2/3.","language":"javascript","status":"maintenance","version":"1.3.1","tags":["javascript","glsl","webpack","loader","shader","chunks"],"install":[{"cmd":"npm install shader-loader","imports":["import vertexShader from 'shader.vs';","module.exports = { module: { rules: [ { test: /\\.(glsl|vs|fs)$/, loader: 'shader-loader', options: { glsl: { chunkPath: 'path/to/chunks' } } } ] } };","void main() { $noise }"]},{"cmd":"yarn add shader-loader","imports":[]},{"cmd":"pnpm add shader-loader","imports":[]}],"homepage":null,"github":"https://github.com/Makio64/shader-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/shader-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/shader-loader/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}