mirror of https://github.com/zulip/zulip.git
babelrc: Replace with babel.config.js.
This has different resolution semantics that we need to take advantage of: .babelrc only applied to files within its own package. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
a3475b422d
commit
d8070376fb
16
.babelrc
16
.babelrc
|
@ -1,16 +0,0 @@
|
|||
{
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"corejs": 3,
|
||||
"useBuiltIns": "usage"
|
||||
}
|
||||
],
|
||||
"@babel/typescript"
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/proposal-class-properties"
|
||||
],
|
||||
"sourceType": "unambiguous"
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
module.exports = {
|
||||
presets: [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
corejs: 3,
|
||||
useBuiltIns: "usage",
|
||||
},
|
||||
],
|
||||
"@babel/typescript",
|
||||
],
|
||||
plugins: [
|
||||
"@babel/proposal-class-properties",
|
||||
],
|
||||
sourceType: "unambiguous",
|
||||
};
|
Loading…
Reference in New Issue