mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Fix .babelrc to be the same as react-sdk
it was missing some plugins which firstly means we're using inconsistent js between projects, but also causes builds to fail due to our unique build system.
This commit is contained in:
parent
cc8eaea5a7
commit
d6d4d95b20
21
.babelrc
21
.babelrc
@ -1,4 +1,21 @@
|
|||||||
{
|
{
|
||||||
"presets": ["react", "es2015", "es2016"],
|
"presets": [
|
||||||
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-bluebird", "transform-runtime", "add-module-exports"]
|
"react",
|
||||||
|
"es2015",
|
||||||
|
"es2016"
|
||||||
|
],
|
||||||
|
"plugins": [
|
||||||
|
[
|
||||||
|
"transform-builtin-extend",
|
||||||
|
{
|
||||||
|
"globals": ["Error"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"transform-class-properties",
|
||||||
|
"transform-object-rest-spread",
|
||||||
|
"transform-async-to-bluebird",
|
||||||
|
"transform-runtime",
|
||||||
|
"add-module-exports",
|
||||||
|
"syntax-dynamic-import"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user