mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
7b89893645
See https://github.com/matrix-org/matrix-react-sdk/pull/3292 Like react-sdk#3292, this fixes the couple source files which mix imports and module exports (they can't be mixed anymore).
22 lines
670 B
Plaintext
22 lines
670 B
Plaintext
{
|
|
"presets": [
|
|
"@babel/preset-react",
|
|
["@babel/preset-env", {
|
|
"modules": false,
|
|
"targets": {"browsers": ["last 2 versions"]}
|
|
}],
|
|
"@babel/preset-flow",
|
|
"@babel/preset-typescript"
|
|
],
|
|
"plugins": [
|
|
"babel-plugin-add-module-exports",
|
|
"@babel/plugin-proposal-numeric-separator",
|
|
"@babel/plugin-proposal-class-properties",
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
"@babel/plugin-transform-flow-comments",
|
|
"@babel/plugin-transform-async-to-generator",
|
|
"@babel/plugin-transform-runtime",
|
|
"@babel/plugin-syntax-dynamic-import"
|
|
]
|
|
}
|