Add support for wrapping the build in UMD syntax.

This commit is contained in:
Tim Schaub
2014-12-13 13:23:10 -08:00
parent 7fd017879f
commit b60b0ecdb0
5 changed files with 35 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
{
"exports": ["*"]
"exports": ["*"],
"umd": true
}

View File

@@ -1,5 +1,6 @@
{
"exports": ["*"],
"umd": true,
"compile": {
"externs": [
"externs/bingmaps.js",
@@ -59,7 +60,6 @@
],
"compilation_level": "ADVANCED",
"warning_level": "VERBOSE",
"output_wrapper": "(function(){%output%})();",
"use_types_for_optimization": true,
"manage_closure_dependencies": true
}