Ghost/core/server/lib/image/index.js
Hannah Wolfe 273e220327 Moved i18n to shared
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
2021-05-04 13:03:38 +01:00

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});