File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @craco/craco" ,
3
3
"description" : " Create React App Configuration Override, an easy and comprehensible configuration layer for create-react-app." ,
4
- "version" : " 7.0.0-alpha.6 " ,
4
+ "version" : " 7.0.0-alpha.7 " ,
5
5
"scripts" : {
6
6
"prepublishOnly" : " tsc" ,
7
7
"test" : " jest"
Original file line number Diff line number Diff line change @@ -82,10 +82,10 @@ function applyLoaderOptions(
82
82
83
83
function overrideLoader (
84
84
match : CompleteLoader ,
85
- babelConfig : CracoBabelConfig ,
85
+ cracoConfig : CracoConfig ,
86
86
context : BaseContext
87
87
) {
88
- const { presets, plugins, loaderOptions } = babelConfig ;
88
+ const { presets, plugins, loaderOptions } = cracoConfig . babel ?? { } ;
89
89
90
90
if ( presets ) {
91
91
addPresets ( match . loader , presets ) ;
You can’t perform that action at this time.
0 commit comments