Ghost/core/frontend/services/theme-engine/i18n/index.js
Sam Lord caea330647 Change to use @tryghost/logging
no issue

Logging is now controlled by a logginrc.js file in the root of the project - and now we can just import @tryghost/logging everywhere
2021-06-15 15:59:11 +01:00

8 lines
262 B
JavaScript

const config = require('../../../../shared/config');
const logging = require('@tryghost/logging');
const ThemeI18n = require('./i18n');
module.exports = new ThemeI18n({logging, basePath: config.getContentPath('themes')});
module.exports.ThemeI18n = ThemeI18n;