README
@vxna/glsl-loader
Bundle your shaders without comments
Usage
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.(frag|vert|glsl)$/,
loader: '@vxna/glsl-loader'
}
]
}
}
Bundle your shaders without comments
<script type="module">
import vxnaGlslLoader from 'https://cdn.skypack.dev/@vxna/glsl-loader';
</script>
Bundle your shaders without comments
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.(frag|vert|glsl)$/,
loader: '@vxna/glsl-loader'
}
]
}
}