Index: templates/modules.js.tmpl |
=================================================================== |
--- a/templates/modules.js.tmpl |
+++ b/templates/modules.js.tmpl |
@@ -14,18 +14,20 @@ |
require.scopes = Object.create(null); |
} |
{% if args["injectinfomodule"] %} |
require.modules["info"] = function(module, exports) |
{ |
{% if type == "gecko-webext" %} |
{% include "geckoInfo.js.tmpl" %} |
-{% elif type == "chrome" or type == "edge" %} |
+{% elif type == "chrome" %} |
{% include "chromeInfo.js.tmpl" %} |
+{% elif type == "edge" %} |
+{% include "edgeInfo.js.tmpl" %} |
{% endif %} |
return module.exports; |
}; |
{% endif %} |
{%- for module_name, script in modules -%} |
require.modules[{{ module_name|json }}] = function(module, exports) |
{ |