Prepare for vitest in shared-components (#31820)
* Use typescript for vite config Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch shared-components to ESM Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove stale aliases Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove reference to element-web files from shared-components Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove spurious node polyfill Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
+2
-1
@@ -221,8 +221,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
|
||||
// Make shared-components imports resolve to EW deps
|
||||
"counterpart": path.resolve(__dirname, "node_modules/counterpart"),
|
||||
"@vector-im/compound-web": path.resolve(__dirname, "node_modules/@vector-im/compound-web"),
|
||||
},
|
||||
fallback: {
|
||||
// Mock out the NodeFS module: The opus decoder imports this wrongly.
|
||||
|
||||
Reference in New Issue
Block a user