mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Expanded requires of lib/common i18n and events
- Having these as destructured from the same package is hindering refactoring now - Events should really only ever be used server-side - i18n should be a shared module for now so it can be used everywhere until we figure out something better - Having them seperate also allows us to lint them properly
This commit is contained in:
parent
7f4d2bb06e
commit
90ca836cb6
@ -1,4 +1,4 @@
|
|||||||
const PackageJson = require('./package-json');
|
const PackageJson = require('./package-json');
|
||||||
const {i18n} = require('../../common');
|
const i18n = require('../../common/i18n');
|
||||||
|
|
||||||
module.exports = new PackageJson({i18n});
|
module.exports = new PackageJson({i18n});
|
||||||
|
Loading…
Reference in New Issue
Block a user