mirror of
https://github.com/a2nt/silverstripe-progressivewebapp.git
synced 2024-09-08 00:41:10 +02:00
29 lines
911 B
JSON
29 lines
911 B
JSON
{
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"targets": {
|
|
"node": "6.10",
|
|
"browsers": "> 0.25%, not dead"
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@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-syntax-top-level-await",
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
"@babel/plugin-syntax-jsx"
|
|
]
|
|
}
|