mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
273e220327
refs 829e8ed010
- i18n is used everywhere but only requires shared or external packages, therefore it's a good candidate for living in shared
- this reduces invalid requires across frontend and server, and lets us use it everywhere until we come up with a better option
13 lines
653 B
JavaScript
13 lines
653 B
JavaScript
const request = require('../request');
|
|
const urlUtils = require('../../../shared/url-utils');
|
|
const storage = require('../../adapters/storage');
|
|
const storageUtils = require('../../adapters/storage/utils');
|
|
const validator = require('../../data/validation').validator;
|
|
const config = require('../../../shared/config');
|
|
const logging = require('../../../shared/logging');
|
|
const i18n = require('../../../shared/i18n');
|
|
const settingsCache = require('../../services/settings/cache');
|
|
const ImageUtils = require('./image-utils');
|
|
|
|
module.exports = new ImageUtils({config, logging, i18n, urlUtils, settingsCache, storageUtils, storage, validator, request});
|