webpack-bootstrap-ui-kit/babel.config.json

31 lines
964 B
JSON
Raw Normal View History

2021-01-31 12:57:22 +01:00
{
"presets": [
[
"@babel/preset-env",
{
2021-03-30 07:43:22 +02:00
"targets":
{
2021-01-31 12:57:22 +01:00
"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": [
2021-02-12 18:57:33 +01:00
"@babel/plugin-syntax-top-level-await",
2021-01-31 12:57:22 +01:00
"@babel/plugin-proposal-object-rest-spread",
2021-03-30 07:43:22 +02:00
"@babel/plugin-syntax-jsx",
"@babel/plugin-proposal-class-properties"
2021-01-31 12:57:22 +01:00
]
}