diff --git a/package.json b/package.json index 0cdee323ab5..824148f7957 100644 --- a/package.json +++ b/package.json @@ -124,6 +124,7 @@ "@types/chai": "^3.5.2", "babel-eslint": "^7.1.1", "babel-plugin-add-module-exports": "^0.2.0", + "babel-plugin-transform-for-of-as-array": "^1.1.1", "basic-auth": "^1.1.0", "body-parser": "^1.17.1", "broken-link-checker": "^0.7.0", diff --git a/src/client/.babelrc b/src/client/.babelrc index c1e2c3a3347..6461c77e42e 100644 --- a/src/client/.babelrc +++ b/src/client/.babelrc @@ -4,6 +4,7 @@ ["env", { "loose": true }] ], "plugins": [ - "add-module-exports" + "add-module-exports", + "transform-for-of-as-array" ] }