mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
985966f8be
Hopefully makes the syntax a bit nicer. Also uses ES6 async import rather than require.ensure which is now deprecated. Also also displays an error if the component fails to load rather than falling over in a heap, which is nice.
5 lines
223 B
Plaintext
5 lines
223 B
Plaintext
{
|
|
"presets": ["react", "es2015", "es2016"],
|
|
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-bluebird", "transform-runtime", "add-module-exports", "syntax-dynamic-import"]
|
|
}
|