mirror of
https://github.com/a2nt/meta-lightbox.git
synced 2024-10-22 17:05:53 +02:00
28 lines
849 B
JSON
28 lines
849 B
JSON
|
{
|
||
|
"presets": [
|
||
|
[
|
||
|
"@babel/preset-env",
|
||
|
{
|
||
|
"targets": {
|
||
|
"node": "6.10",
|
||
|
"esmodules": true
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
[
|
||
|
"@babel/preset-react",
|
||
|
{
|
||
|
"pragma": "dom", // default pragma is React.createElement (only in classic runtime)
|
||
|
"pragmaFrag": "DomFrag", // default is React.Fragment (only in classic runtime)
|
||
|
"throwIfNamespace": false, // defaults to true
|
||
|
"runtime": "classic" // defaults to classic
|
||
|
// "importSource": "custom-jsx-library" // defaults to react (only in automatic runtime)
|
||
|
}
|
||
|
]
|
||
|
],
|
||
|
"plugins": [
|
||
|
"@babel/plugin-proposal-object-rest-spread",
|
||
|
"@babel/plugin-syntax-jsx"
|
||
|
]
|
||
|
}
|