Skip to content

Switch to importing matrix-js-sdk properly#33267

Draft
t3chguy wants to merge 4 commits into
developfrom
t3chguy/js-sdk-imports
Draft

Switch to importing matrix-js-sdk properly#33267
t3chguy wants to merge 4 commits into
developfrom
t3chguy/js-sdk-imports

Conversation

@t3chguy
Copy link
Copy Markdown
Member

@t3chguy t3chguy commented Apr 22, 2026

Using src imports as we did

  1. made the build & typechecking slower
  2. required us to install certain @types/ deps which js-sdk needed
  3. limited certain options in typescript as we had to support both the typescript features the js-sdk needed as well as element-web (e.g. we couldn't use ESNext lib as js-sdk uses es2024 with some extensions which clash with ESNext)

Requires matrix-org/matrix-js-sdk#5298

Using `src` imports as we did

1. made the build & typechecking slower
2. required us to install certain `@types/` deps which js-sdk needed
3. limited certain options in typescript as we had to support both the typescript features the js-sdk needed as well as element-web (e.g. we couldn't use ESNext lib as js-sdk uses es2024 with some extensions which clash with ESNext)
@t3chguy t3chguy added the T-Task Tasks for the team like planning label Apr 22, 2026
@t3chguy t3chguy self-assigned this Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Task Tasks for the team like planning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant