I made this loader to import some specific THREE.js submodules into one of my projects, then building a static build with jspm-cli, and getting Rollup to perform its three shaking magic on the result.
Install it with
jspm install glsl=npm:systemjs-glsl-plugin
This loader must be enabled in the
meta section of
meta:"*.glsl":"defaultExtension": false"loader": "glsl"...