mirror of
https://github.com/status-im/consul.git
synced 2025-01-12 06:44:41 +00:00
48ace89c6a
- Simplifies how we 'import' our configuration files a little in order to make them more grokable. - Starts to exclude files based on explicit configuration rather than convention. - Adds the first instance of us being able to select an implementation (of multiple) of a component at runtime.
10 lines
296 B
JavaScript
10 lines
296 B
JavaScript
(services => services({
|
|
"component:consul/partition/selector": {
|
|
"class": "consul-ui/components/consul/partition/selector"
|
|
}
|
|
}))(
|
|
(json, data = (typeof document !== 'undefined' ? document.currentScript.dataset : module.exports)) => {
|
|
data[`services`] = JSON.stringify(json);
|
|
}
|
|
);
|