glslify-bundle
Advanced tools
Comparing version 2.0.3 to 2.0.4
var tokenize = require('glsl-tokenizer/string') | ||
var inject = require('glsl-inject-defines') | ||
var defines = require('glsl-token-defines') | ||
@@ -9,3 +10,5 @@ var descope = require('glsl-token-descope') | ||
module.exports = function(deps) { | ||
return '#define GLSLIFY 1\n\n' + Bundle(deps).src | ||
return inject(Bundle(deps).src, { | ||
GLSLIFY: 1 | ||
}) | ||
} | ||
@@ -12,0 +15,0 @@ |
{ | ||
"name": "glslify-bundle", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Bundle a glslify-deps dependency tree into a GLSL source string", | ||
@@ -16,2 +16,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"glsl-inject-defines": "^1.0.1", | ||
"glsl-token-defines": "^1.0.0", | ||
@@ -18,0 +19,0 @@ "glsl-token-depth": "^1.1.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8658
9
135
7
+ Addedglsl-inject-defines@^1.0.1
+ Addedglsl-inject-defines@1.0.3(transitive)
+ Addedglsl-token-inject-block@1.1.0(transitive)