You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
894 B
53 lines
894 B
7 years ago
|
{
|
||
|
"presets": [
|
||
|
[
|
||
|
"@babel/preset-env",
|
||
|
{
|
||
|
"loose": true,
|
||
|
"modules": false,
|
||
|
"targets": {
|
||
|
"electron": "1.8",
|
||
|
"node": "current"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"@babel/preset-flow",
|
||
|
"@babel/preset-react",
|
||
|
"@babel/preset-stage-0"
|
||
|
],
|
||
|
"plugins": [
|
||
|
["babel-plugin-module-resolver", { "root": ["src"] }],
|
||
|
[
|
||
|
"babel-plugin-styled-components",
|
||
|
{
|
||
|
"displayName": false,
|
||
|
"minify": true,
|
||
|
"ssr": true
|
||
|
}
|
||
|
]
|
||
|
],
|
||
|
"env": {
|
||
|
"test": {
|
||
|
"presets": [
|
||
|
[
|
||
|
"@babel/preset-env",
|
||
|
{
|
||
|
"modules": "commonjs"
|
||
|
}
|
||
|
]
|
||
|
]
|
||
|
},
|
||
|
"development": {
|
||
|
"plugins": [
|
||
|
[
|
||
|
"babel-plugin-styled-components",
|
||
|
{
|
||
|
"displayName": true,
|
||
|
"minify": false
|
||
|
}
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|