1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-23 22:42:10 +03:00

Remove babel-polyfill

react-sdk's tests are failing because babel-polyfill is being
pulled in twice.

As per https://babeljs.io/docs/usage/polyfill/ babel-polyfill is
"intended to be used in an application rather than a library/tool".
From a library, we're limited to things that don't modify globals,
since the js env is not ours to start screwing around with.
This commit is contained in:
David Baker
2017-01-11 18:52:49 +00:00
parent 09e4e4709f
commit 18f57a2100
3 changed files with 0 additions and 5 deletions

View File

@@ -1,5 +1,3 @@
require("babel-polyfill");
var matrixcs = require("./lib/matrix");
matrixcs.request(require("browser-request"));
module.exports = matrixcs; // keep export for browserify package deps