Commit 835ace40 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Decrease size of built JS

parent a508d025
......@@ -11,6 +11,7 @@ var profile = (function () {
mini: true,
layerOptimize: "closure",
cssOptimize: "comments",
stripConsole: "all",
selectorEngine: "lite",
defaultConfig: {
......@@ -54,6 +55,41 @@ var profile = (function () {
"version"
]
}
},
staticHasFeatures: {
/* These properties allow Closure compiler to remove unused code from Dojo Toolkit
* and further decrease file size of the build */
"config-deferredInstrumentation": 0,
"config-dojo-loader-catches": 0,
"config-tlmSiblingOfDojo": 1,
"dojo-amd-factory-scan": 0,
"dojo-combo-api": 0,
"dojo-config-api": 1,
"dojo-config-require": 0,
"dojo-debug-messages": 0,
"dojo-dom-ready-api": 1,
"dojo-firebug": 0,
"dojo-guarantee-console": 0,
"dojo-has-api": 1,
"dojo-inject-api": 1,
"dojo-loader": 0,
"dojo-log-api": 0,
"dojo-modulePaths": 0,
"dojo-moduleUrl": 0,
"dojo-publish-privates": 0,
"dojo-requirejs-api": 0,
"dojo-sniff": 0,
"dojo-sync-loader": 0,
"dojo-test-sniff": 0,
"dojo-timeout-api": 0,
"dojo-trace-api": 0,
"dojo-undef-api": 0,
"dojo-v1x-i18n-Api": 1,
"dojo-xhr-factory": 0,
"dom": 1,
"extend-dojo": 1,
"host-browser": 1
}
};
}());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment