Switch to simpler babel config, to compile down further, to be compatible with the JSX syntax plugin

This commit is contained in:
Tony Garnock-Jones 2018-11-03 22:28:33 +00:00
parent c331544ede
commit 1dbfe110de
2 changed files with 3 additions and 16 deletions

3
packages/syntax/.babelrc Normal file
View File

@ -0,0 +1,3 @@
{
"presets": [ "@babel/preset-env" ]
}

View File

@ -1,16 +0,0 @@
const presets = [
[
"@babel/env",
{
targets: {
edge: "17",
firefox: "60",
chrome: "67",
safari: "11.1",
},
useBuiltIns: "usage",
},
],
];
module.exports = { presets };