Switch to simpler babel config, to compile down further, to be compatible with the JSX syntax plugin
This commit is contained in:
parent
c331544ede
commit
1dbfe110de
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"presets": [ "@babel/preset-env" ]
|
||||||
|
}
|
|
@ -1,16 +0,0 @@
|
||||||
const presets = [
|
|
||||||
[
|
|
||||||
"@babel/env",
|
|
||||||
{
|
|
||||||
targets: {
|
|
||||||
edge: "17",
|
|
||||||
firefox: "60",
|
|
||||||
chrome: "67",
|
|
||||||
safari: "11.1",
|
|
||||||
},
|
|
||||||
useBuiltIns: "usage",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
];
|
|
||||||
|
|
||||||
module.exports = { presets };
|
|
Loading…
Reference in New Issue