mirror of
https://github.com/nasa/openmct.git
synced 2025-01-29 23:53:56 +00:00
96aaea5e58
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.
20 lines
422 B
JavaScript
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": {}
|
|
}
|
|
}); |