This PR makes Engine work in Webpack, but breaks browserify support.
The solution will be to keep the current syntax (not the one shown in this PR), then use Webpack's transform-loader to apply the glslify transform to files in Webpack builds, but that won't work until the following issue is solved: https://github.com/webpack/webpack/issues/1373
(Discussion, don't merge)
This PR makes Engine work in Webpack, but breaks browserify support.
The solution will be to keep the current syntax (not the one shown in this PR), then use Webpack's
transform-loader
to apply theglslify
transform to files in Webpack builds, but that won't work until the following issue is solved: https://github.com/webpack/webpack/issues/1373cc: @talves