mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
Try adding transform-runtime in react-sdk
as it seems the runtime is undefined on the /develop, even though it works just fine for me locally.
This commit is contained in:
parent
5a9148f1cd
commit
09d2b2a36c
2 changed files with 2 additions and 1 deletions
2
.babelrc
2
.babelrc
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"presets": ["react", "es2015", "es2016"],
|
||||
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator"]
|
||||
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator", "transform-runtime"]
|
||||
}
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
"babel-plugin-transform-async-to-generator": "^6.16.0",
|
||||
"babel-plugin-transform-class-properties": "^6.16.0",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.16.0",
|
||||
"babel-plugin-transform-runtime": "^6.15.0",
|
||||
"babel-polyfill": "^6.5.0",
|
||||
"babel-preset-es2015": "^6.14.0",
|
||||
"babel-preset-es2016": "^6.11.3",
|
||||
|
|
Loading…
Reference in a new issue