Fix translation in dev mode (#31045)

* fix: use EW and shared component counterpart

* fix: exclude counterpart from build

* Revert "fix: use EW and shared component counterpart"

This reverts commit 1983d063c6.

* Revert "fix: exclude counterpart from build"

This reverts commit 8e41b137fc.

* fix: force EW and shared components to use EW counterpart
This commit is contained in:
Florian Duros 2025-10-21 10:25:07 +02:00 committed by GitHub
parent 9e1d0367d0
commit 77c41d6789
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,6 +214,9 @@ module.exports = (env, argv) => {
// Define a variable so the i18n stuff can load
"$webapp": path.resolve(__dirname, "webapp"),
// Make shared-components imports resolve to EW counterpart
"counterpart": path.resolve(__dirname, "node_modules/counterpart"),
},
fallback: {
// Mock out the NodeFS module: The opus decoder imports this wrongly.