We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e08473 commit 9b494bdCopy full SHA for 9b494bd
packages/react-router-dev/config/config.ts
@@ -401,14 +401,14 @@ async function resolveConfig({
401
return null;
402
}
403
404
- let presetResult = await preset.reactRouterConfig({
+ let reactRouterConfig = await preset.reactRouterConfig({
405
reactRouterUserConfig,
406
});
407
408
- let configPreset = presetResult;
+ let configPreset = reactRouterConfig;
409
410
- if ("presets" in presetResult) {
411
- configPreset = omit(presetResult, excludedConfigPresetKeys);
+ if ("presets" in reactRouterConfig) {
+ configPreset = omit(reactRouterConfig, excludedConfigPresetKeys);
412
413
414
return configPreset;
0 commit comments