$ cnpm install gatsby-plugin-glslify
A Gatsby plugin to be able to import glsl/vert/frag files, and have them processed by glslify.
npm install --save glslify gatsby-plugin-glslify
// In your gatsby-config.js
module.exports = {
plugins: `gatsby-plugin-glslify`,
}
Copyright 2014 - 2017 © taobao.org |