nginx-tutorial/examples/reactapp/.babelrc

36 lines
456 B
Plaintext

{
"presets": [
[
"env",
{
"modules": false
}
],
"react",
"stage-0"
],
"plugins": [
"react-hot-loader/babel",
"syntax-dynamic-import",
"transform-runtime",
[
"import",
[
{
"libraryName": "antd",
"style": "css"
}
]
]
],
"env": {
"test": {
"presets": [
"env",
"react",
"stage-0"
]
}
}
}