mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
39 lines
739 B
Plaintext
39 lines
739 B
Plaintext
{
|
|
"presets": [
|
|
"@babel/preset-react",
|
|
"@babel/preset-flow"
|
|
],
|
|
"plugins": [
|
|
"babel-plugin-styled-components",
|
|
[
|
|
"@babel/plugin-proposal-decorators",
|
|
{
|
|
"legacy": true
|
|
}
|
|
],
|
|
["@babel/plugin-proposal-class-properties", { "loose" : true }],
|
|
"@babel/plugin-proposal-optional-chaining"
|
|
],
|
|
"env": {
|
|
"development": {
|
|
"plugins": [
|
|
"react-hot-loader/babel"
|
|
]
|
|
},
|
|
"test": {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"targets": {
|
|
"node": "12"
|
|
}
|
|
}
|
|
],
|
|
// We need to add this again because it has to run before es2015
|
|
"@babel/preset-flow"
|
|
]
|
|
}
|
|
}
|
|
}
|