diff --git a/webpack.config.js b/webpack.config.js index e83f6f4a60..b979ded2b2 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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.