forked from matrix-org/matrix-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1829 added the spec files to 'src', presumably because they just were't type checked otherwise, but this chaqnged the implicit rootDir so the lib directory we shipped has types in src/ and spec/ which meant lib/index.d.ts was at lib/src/index.d.ts. Specify the rootDir on the build tsconfig to put it back in the right place, and also try to make the base tsconfig never emit to avoid it ever generating .d.ts files in silly places. Move all the optoins related to emitting to -build since they aren't relevant in the main one. Is this a sensible way to do this? It doesn't feel terribly elegant. Fixes element-hq/element-web#18503 Regressed in matrix-org#1829
- Loading branch information
Showing
3 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters