File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 "regenerator" : true
2121 }],
2222 " @babel/plugin-syntax-dynamic-import" ,
23- // "styled-components",
23+ // "babel-plugin- styled-components",
2424 " lodash"
2525 ]
2626}
Original file line number Diff line number Diff line change 2323 "timelimit" : " ^1.0.1"
2424 },
2525 "devDependencies" : {
26- "@babel/core" : " ^7.4.3 " ,
26+ "@babel/core" : " ^7.4.4 " ,
2727 "@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 " ,
3030 "@babel/preset-react" : " ^7.0.0" ,
31- "@babel/runtime" : " ^7.4.3 " ,
31+ "@babel/runtime" : " ^7.4.4 " ,
3232 "@types/bowser" : " ^1.1.1" ,
3333 "@types/fast-levenshtein" : " 0.0.1" ,
3434 "@types/lodash" : " ^4.14.123" ,
Original file line number Diff line number Diff line change 22
33// const styledComponentsTransformer = createStyledComponentsTransformer()
44
5- const { createLodashTransformer } = require ( 'typescript-plugin-lodash' )
6-
75const tsOptions = env => env === 'dev' ? {
86 // getCustomTransformers: () => ({ before: [styledComponentsTransformer] }),
97 useCache : true ,
108} : {
11- getCustomTransformers : ( ) => ( { before : [ createLodashTransformer ( ) ] } ) ,
129 ignoreDiagnostics : [ ] ,
1310}
1411
You can’t perform that action at this time.
0 commit comments