mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-17 13:31:39 +03:00
a1393762f6
no issue - decreases chance of not-loaded modules or circular dependencies - e.g. the i18n implementation will use the settings-cache and the settings-cache uses lib/common/events
20 lines
285 B
JavaScript
20 lines
285 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
get i18n() {
|
|
return require('./i18n');
|
|
},
|
|
|
|
get events() {
|
|
return require('./events');
|
|
},
|
|
|
|
get errors() {
|
|
return require('./errors');
|
|
},
|
|
|
|
get logging() {
|
|
return require('./logging');
|
|
}
|
|
};
|