You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
I see that there is repeated block of code, with the only difference being the used langcode. Is this correct? We could have multiple languages in the future and it can become maintenance burden, if I understand the code correctly.
The text was updated successfully, but these errors were encountered:
From @fviejobueno who did a bit of research into this:
I was today researching how to avoid this multiple declarations of the HtmlWebPackPlugin to get the translations. What i have found is the usage of yet another plugin, i18n-webpack-plugin, so this one would handle the translations and handlebars the expressions. The idea of how to configure it i found it here
Looking at
digital-climate-strike/webpack.common.js
Line 144 in 096c88a
I see that there is repeated block of code, with the only difference being the used langcode. Is this correct? We could have multiple languages in the future and it can become maintenance burden, if I understand the code correctly.
The text was updated successfully, but these errors were encountered: