glslify / babel-plugin-glslify

:tropical_fish: Babel transform for glslify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

babel-plugin-glslify

jamiebuilds opened this issue · comments

Hi! I just wanted to quickly suggest that you switch the name from glslify-babel to babel-plugin-glslify as this follows the naming scheme of the Babel ecosystem which is encoded into how plugins are loaded:

  // ... in your package.json
  "browserify": {
    "transform": [[
      "babelify", {
        "presets": ["es2015"],
-       "plugins": ["glslify-babel"]
+       "plugins": ["glslify"] // maps to babel-plugin-glslify
      }
    ]]
  }

Thanks for the advice, I changed the name to follow the babel conventions more closely.