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:
Hannah Wolfe 2021-04-27 14:18:04 +01:00
parent 7f4d2bb06e
commit 90ca836cb6

View File

@ -1,4 +1,4 @@
const PackageJson = require('./package-json');
const {i18n} = require('../../common');
const i18n = require('../../common/i18n');
module.exports = new PackageJson({i18n});