23 lines
362 B
JavaScript
23 lines
362 B
JavaScript
|
// @flow
|
||
|
|
||
|
const presets = [
|
||
|
[
|
||
|
"@babel/preset-env",
|
||
|
{
|
||
|
targets: {
|
||
|
edge: "17",
|
||
|
firefox: "60",
|
||
|
chrome: "67",
|
||
|
safari: "11.1",
|
||
|
node: true,
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
"@babel/preset-react",
|
||
|
"@babel/preset-flow",
|
||
|
];
|
||
|
|
||
|
const plugins = ["@babel/plugin-proposal-class-properties"];
|
||
|
|
||
|
module.exports = {presets, plugins};
|