openmct/platform/framework/src/Constants.js
Victor Woeltjen 96aaea5e58 [Framework] Add RequireJS configurator
Add a configuration step (as part of the resolve phase)
to the framework layer, where bundle-defined paths and shims
are passed to RequireJS configuration. This permits both
the use of non-AMD modules and the exposure of libraries
across bundles. WTD-568.
2015-01-02 17:46:50 -08:00

20 lines
422 B
JavaScript

/*global define*/
/**
* Constants used by the framework layer.
*/
define({
MODULE_NAME: "OpenMCTWeb",
BUNDLE_LISTING_FILE: "bundles.json",
BUNDLE_FILE: "bundle.json",
SEPARATOR: "/",
EXTENSION_SUFFIX: "[]",
DEFAULT_BUNDLE: {
"sources": "src",
"resources": "res",
"libraries": "lib",
"tests": "test",
"configuration": {},
"extensions": {}
}
});