wikijs-fork/.babelrc

30 lines
656 B
Plaintext

{
"comments": true,
"plugins": [
"lodash",
"graphql-tag",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions"
],
"presets": [
[
"@babel/preset-env", {
"useBuiltIns": "entry",
"corejs": 3
}
]
]
}