Keep the SDK's matrix-js-sdk imports out of the component bundl

This commit is contained in:
Timo K. committed 2026-10-30 13:54:26 +01:00
1 parent 35ce907e1f
commit a6764b4e49
2 files changed
+6 -2

No files matched your search

+3 -2
View File
@@ -44,8 +44,9 @@ const TARGETS = [
{
config: "vite-component.config.ts",
what: "the component build",
sources: ["src", "component"],
excluded: ["component/dev"],
// `sdk` too: the build resolves `@element-hq/matrixrtc-sdk` to its source
sources: ["src", "component", "sdk"],
excluded: ["component/dev", "sdk/dev"],
mustBeExternal: [
"react",
"react-dom",