0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/shared/i18n/index.js
Hannah Wolfe ba53de1add Refactored i18n into a class + index
- preparation for using DI instead of requires, so we can move this out of Ghost
- have done this for both the main i18n and theme i18n file
- refactored the constructor
2021-05-05 15:13:23 +01:00

4 lines
90 B
JavaScript

const I18n = require('./i18n');
module.exports = new I18n();
module.exports.I18n = I18n;