glslify / babel-plugin-glslify

:tropical_fish: Babel transform for glslify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Readme example is broken

dy opened this issue · comments

The following simplified readme example

var glsl = require("glslify")
const myFragShader = glsl`
void main () {}
`

gives:

Unknown encoding: 0
C:/projects/test.js

Anyone?