File tree 4 files changed +168
-211
lines changed
4 files changed +168
-211
lines changed Original file line number Diff line number Diff line change 20
20
"regenerator" : true
21
21
}],
22
22
" @babel/plugin-syntax-dynamic-import" ,
23
- // "styled-components",
23
+ // "babel-plugin- styled-components",
24
24
" lodash"
25
25
]
26
26
}
Original file line number Diff line number Diff line change 23
23
"timelimit" : " ^1.0.1"
24
24
},
25
25
"devDependencies" : {
26
- "@babel/core" : " ^7.4.3 " ,
26
+ "@babel/core" : " ^7.4.4 " ,
27
27
"@babel/plugin-syntax-dynamic-import" : " ^7.2.0" ,
28
- "@babel/plugin-transform-runtime" : " ^7.4.3 " ,
29
- "@babel/preset-env" : " ^7.4.3 " ,
28
+ "@babel/plugin-transform-runtime" : " ^7.4.4 " ,
29
+ "@babel/preset-env" : " ^7.4.4 " ,
30
30
"@babel/preset-react" : " ^7.0.0" ,
31
- "@babel/runtime" : " ^7.4.3 " ,
31
+ "@babel/runtime" : " ^7.4.4 " ,
32
32
"@types/bowser" : " ^1.1.1" ,
33
33
"@types/fast-levenshtein" : " 0.0.1" ,
34
34
"@types/lodash" : " ^4.14.123" ,
Original file line number Diff line number Diff line change 2
2
3
3
// const styledComponentsTransformer = createStyledComponentsTransformer()
4
4
5
- const { createLodashTransformer } = require ( 'typescript-plugin-lodash' )
6
-
7
5
const tsOptions = env => env === 'dev' ? {
8
6
// getCustomTransformers: () => ({ before: [styledComponentsTransformer] }),
9
7
useCache : true ,
10
8
} : {
11
- getCustomTransformers : ( ) => ( { before : [ createLodashTransformer ( ) ] } ) ,
12
9
ignoreDiagnostics : [ ] ,
13
10
}
14
11
You can’t perform that action at this time.
0 commit comments