[wip] Improved support for I18n / Translations in Webpack config

'require' is not defined.