migrate core to emotion

This commit is contained in:
Shawn Erquhart
2018-07-06 18:56:28 -04:00
parent 768fcbaa1d
commit 4931711892
114 changed files with 3414 additions and 78296 deletions

View File

@ -1,9 +1,17 @@
{
"presets": [
"react",
"env",
["env", {
"modules": false,
}],
],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties",
["transform-runtime", {
"useBuiltIns": true,
"useESModules": true,
}],
["module-resolver", {
"root": [
"./src/components"
@ -22,8 +30,17 @@
}
}],
"inline-svg",
["inline-import", {
"extensions": ["yml"],
}],
],
"env": {
"production": {
"plugins": [
["emotion", {"hoist": true}],
],
},
"development": {
"plugins": [
["emotion", {"sourceMap": true, "autoLabel": true }],
],
},
},
}