1 | {
|
2 | "presets": [
|
3 | "env",
|
4 | "stage-0",
|
5 | "react"
|
6 | ],
|
7 | "env": {
|
8 | "emotion": {
|
9 | "plugins": [
|
10 | [
|
11 | "transform-rename-import",
|
12 | {
|
13 | "replacements": [
|
14 | {
|
15 | "original": "^@rebass/components$",
|
16 | "replacement": "@rebass/components/emotion"
|
17 | },
|
18 | {
|
19 | "original": "^styled-components$",
|
20 | "replacement": "emotion-theming"
|
21 | },
|
22 | {
|
23 | "original": "^@rebass/grid$",
|
24 | "replacement": "@rebass/grid/emotion"
|
25 | }
|
26 | ]
|
27 | }
|
28 | ]
|
29 | ]
|
30 | }
|
31 | }
|
32 | }
|