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 1983d063c6b75a4f6e193e3c57e3bd9bae0888de. * Revert "fix: exclude counterpart from build" This reverts commit 8e41b137fc0b3d88c38921ac5762836e29c062f8. * fix: force EW and shared components to use EW counterpart
This commit is contained in:
@@ -214,6 +214,9 @@ module.exports = (env, argv) => {
|
|||||||
|
|
||||||
// Define a variable so the i18n stuff can load
|
// Define a variable so the i18n stuff can load
|
||||||
"$webapp": path.resolve(__dirname, "webapp"),
|
"$webapp": path.resolve(__dirname, "webapp"),
|
||||||
|
|
||||||
|
// Make shared-components imports resolve to EW counterpart
|
||||||
|
"counterpart": path.resolve(__dirname, "node_modules/counterpart"),
|
||||||
},
|
},
|
||||||
fallback: {
|
fallback: {
|
||||||
// Mock out the NodeFS module: The opus decoder imports this wrongly.
|
// Mock out the NodeFS module: The opus decoder imports this wrongly.
|
||||||
|
|||||||
Reference in New Issue
Block a user