2020-01-10 00:14:50 +00:00
|
|
|
module.exports = {
|
2019-12-12 21:37:14 +00:00
|
|
|
"sourceMaps": "inline",
|
2019-03-28 16:22:17 +00:00
|
|
|
"presets": [
|
2019-12-12 21:37:14 +00:00
|
|
|
["@babel/preset-env", {
|
|
|
|
"targets": {
|
|
|
|
"browsers": [
|
2020-01-28 12:44:14 +00:00
|
|
|
"last 2 Chrome versions", "last 2 Firefox versions", "last 2 Safari versions"
|
2019-12-16 23:06:43 +00:00
|
|
|
]
|
2019-12-12 21:37:14 +00:00
|
|
|
},
|
|
|
|
"modules": "commonjs"
|
|
|
|
}],
|
|
|
|
"@babel/preset-typescript",
|
|
|
|
"@babel/preset-flow",
|
|
|
|
"@babel/preset-react"
|
2019-03-28 16:22:17 +00:00
|
|
|
],
|
|
|
|
"plugins": [
|
2020-01-28 12:44:14 +00:00
|
|
|
["@babel/plugin-proposal-decorators", {"legacy": false, decoratorsBeforeExport: true}],
|
2019-12-20 01:02:25 +00:00
|
|
|
"@babel/plugin-proposal-export-default-from",
|
2019-12-12 21:37:14 +00:00
|
|
|
"@babel/plugin-proposal-numeric-separator",
|
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
|
|
"@babel/plugin-transform-flow-comments",
|
|
|
|
"@babel/plugin-syntax-dynamic-import",
|
|
|
|
"@babel/plugin-transform-runtime"
|
2019-03-28 16:22:17 +00:00
|
|
|
]
|
2020-01-10 00:14:50 +00:00
|
|
|
};
|