Merge pull request #3722 from matrix-org/travis/babel7
[BREAKING] Refactor the entire build process for babel@7 and TypeScript (chunk 1 of many)
This commit is contained in:
commit
38e75aaae0
2 changed files with 6 additions and 2 deletions
|
@ -247,5 +247,10 @@ class _MatrixClientPeg {
|
|||
if (!global.mxMatrixClientPeg) {
|
||||
global.mxMatrixClientPeg = new _MatrixClientPeg();
|
||||
}
|
||||
|
||||
// We export both because the syntax is slightly different with
|
||||
// our babel changes. We maintain both for backwards compatibility
|
||||
// and for babel to be happy.
|
||||
// TODO: Convert this to a single export
|
||||
export default global.mxMatrixClientPeg;
|
||||
export const MatrixClientPeg = global.mxMatrixClientPeg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue