mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
40ac80a3e9
Also sort out regenerator runtime as it turns out importing babel-polyfill in your code is insufficient if using webpack because it's imported too late, so use both that and regenerator-runtime. Sigh.
5 lines
177 B
Plaintext
5 lines
177 B
Plaintext
{
|
|
"presets": ["react", "es2015", "es2016"],
|
|
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator", "transform-runtime"]
|
|
}
|