freeipa.profile was updated accordingly to contain all modules in dojo layer. This change removes expected errors during the build and therefore it won't confuse others during rpm build. It also helps during development because developer will notice real dependency errors (those not specified this way).
119 lines
3.9 KiB
JavaScript
119 lines
3.9 KiB
JavaScript
//
|
|
// Web UI application profile
|
|
//
|
|
|
|
var profile = (function(){
|
|
return {
|
|
basePath: ".",
|
|
releaseDir: "../release",
|
|
releaseName: "lib",
|
|
action: "release",
|
|
|
|
// Remove just comments. Don't use Shrinksave or Clusure, we don't
|
|
// pack it, it would raise error.
|
|
// Additional optimization can be done by uglify.js.
|
|
layerOptimize: "comments",
|
|
optimize: "comments",
|
|
cssOptimize: "comments",
|
|
mini: true,
|
|
stripConsole: "warn",
|
|
selectorEngine: "lite",
|
|
|
|
defaultConfig: {
|
|
hasCache:{
|
|
"config-deferredInstrumentation": 0,
|
|
"config-dojo-loader-catches": 0,
|
|
"config-tlmSiblingOfDojo": 0,
|
|
"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": 1,
|
|
"dojo-has-api": 1,
|
|
"dojo-inject-api": 1,
|
|
"dojo-loader": 1,
|
|
"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, //all modules should be AMD
|
|
"dojo-test-sniff": 0,
|
|
"dojo-timeout-api": 0,
|
|
"dojo-trace-api": 0,
|
|
"dojo-undef-api": 0,
|
|
"dojo-v1x-i18n-Api": 1,
|
|
"dom": 1,
|
|
"host-browser": 1,
|
|
"extend-dojo": 1
|
|
},
|
|
async: 1
|
|
},
|
|
|
|
packages:[
|
|
{
|
|
name: "freeipa",
|
|
location: "freeipa",
|
|
providedMids: [
|
|
// all modules in our dojo build
|
|
// basically sorted layer content obtained from build report
|
|
'dojo/_base/array',
|
|
'dojo/_base/config',
|
|
'dojo/_base/connect',
|
|
'dojo/_base/declare',
|
|
'dojo/_base/Deferred',
|
|
'dojo/_base/event',
|
|
'dojo/_base/kernel',
|
|
'dojo/_base/lang',
|
|
'dojo/_base/sniff',
|
|
'dojo/_base/window',
|
|
'dojo/aspect',
|
|
'dojo/Deferred',
|
|
'dojo/dojo',
|
|
'dojo/dom',
|
|
'dojo/dom-attr',
|
|
'dojo/dom-class',
|
|
'dojo/dom-construct',
|
|
'dojo/dom-geometry',
|
|
'dojo/dom-prop',
|
|
'dojo/dom-style',
|
|
'dojo/domReady',
|
|
'dojo/errors/CancelError',
|
|
'dojo/errors/create',
|
|
'dojo/Evented',
|
|
'dojo/has',
|
|
'dojo/hash',
|
|
'dojo/io-query',
|
|
'dojo/keys',
|
|
'dojo/mouse',
|
|
'dojo/on',
|
|
'dojo/promise/instrumentation',
|
|
'dojo/promise/Promise',
|
|
'dojo/promise/tracer',
|
|
'dojo/ready',
|
|
'dojo/router',
|
|
'dojo/router/RouterBase',
|
|
'dojo/sniff',
|
|
'dojo/Stateful',
|
|
'dojo/store/Memory',
|
|
'dojo/store/Observable',
|
|
'dojo/store/util/QueryResults',
|
|
'dojo/store/util/SimpleQueryEngine',
|
|
'dojo/topic',
|
|
'dojo/when',
|
|
'dojo/domReady!' //added with '!' as a loader plugin
|
|
]
|
|
}
|
|
],
|
|
|
|
layers: {
|
|
"freeipa/app": {
|
|
include: ["freeipa/app"]
|
|
}
|
|
}
|
|
};
|
|
})(); |