-
-
Notifications
You must be signed in to change notification settings - Fork 833
[BREAKING] Refactor the entire build process for babel@7 and TypeScript (chunk 1 of many) #3722
Conversation
This breaks the tests
We're switching to Jest anyways, and getting these things to run is basically impossible at the moment.
They rely on a working riot-web build, which this is not.
@@ -1,20 +1,25 @@ | |||
{ | |||
"sourceMaps": "inline", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is theoretically the best way to get the sourcemaps into webpack for riot-web
MatrixClientPeg in particular doesn't work very well with this.
"check-type" | ||
] | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way to at least not have these repeated between all our projects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at least not yet, I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok - lgtm I think, on the assumption that the end-to-end tests come back before it hits develop :)
yup, absolutely. We kinda need them. |
To be paired with matrix-org/matrix-js-sdk#1113
Note: This is set to merge against
travis/sourcemaps
because it breaks all the downstream builds.It's not fair to call this part 1 of many because this isn't a distinct part: it's more a chunk of work which is of reviewable size (hopefully).
Features:
As mentioned above, this isn't a complete unit of work - jsut a big rock-shaped lump of changes. Sorry.
This is a step towards being a boring SDK and not anticipating an install location.
This commit requires a major version bump of the SDK.