File tree 3 files changed +29
-4
lines changed
3 files changed +29
-4
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "env" : {
3
+ "production" : {
4
+ "plugins" : [
5
+ [ " emotion" , { "hoist" : true } ]
6
+ ]
7
+ },
8
+ "development" : {
9
+ "plugins" : [
10
+ [" emotion" , { "sourceMap" : true , "autoLabel" : true }]
11
+ ]
12
+ }
13
+ }
14
+ }
Original file line number Diff line number Diff line change 79
79
"babel-cli" : " ^6.26.0" ,
80
80
"babel-core" : " 6.26.3" ,
81
81
"babel-eslint" : " ^8.2.3" ,
82
+ "babel-plugin-emotion" : " ^9.2.6" ,
82
83
"babel-plugin-transform-class-properties" : " ^6.24.1" ,
83
84
"babel-plugin-transform-object-rest-spread" : " ^6.26.0" ,
84
85
"babel-plugin-transform-react-jsx" : " ^6.24.1" ,
Original file line number Diff line number Diff line change 2
2
"env" : {
3
3
"modules" : {
4
4
"plugins" : [
5
- " transform-es2015-modules-commonjs"
5
+ " transform-es2015-modules-commonjs" ,
6
+ [ " emotion" , { "hoist" : true } ]
7
+ ]
8
+ },
9
+ "production" : {
10
+ "plugins" : [
11
+ [ " emotion" , { "hoist" : true } ]
12
+ ]
13
+ },
14
+ "development" : {
15
+ "plugins" : [
16
+ [" emotion" , { "sourceMap" : true }]
6
17
]
7
18
}
8
19
},
9
20
"presets" : [
10
21
[ " env" , {
11
- "modules" : false ,
12
22
"useBuiltIns" : true ,
13
- "loose " : true ,
14
- "exclude " : [ " transform-regenerator " ]
23
+ "modules " : false ,
24
+ "loose " : true
15
25
} ]
16
26
],
17
27
"plugins" : [
You can’t perform that action at this time.
0 commit comments