Translations regenerate at runtime when using webpack-dev-server or storybook

This commit is contained in:
Eric Schultz 2020-10-24 15:02:44 -05:00 committed by Eric Schultz
parent 57af3b92ea
commit 94f63f3b3c

View file

@ -1,3 +1,4 @@
/* rails-erb-loader-dependencies ../config/locales/ */
const I18n = require('i18n-js');
I18n.translations = I18n.translations || {};