Skip to content

Commit 07d23bf

Browse files
authored
fix(react-router): Fix config type import (#15583)
--------- Co-authored-by: Charly Gomez <[email protected]>
1 parent f377496 commit 07d23bf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/react-router/src/vite/buildEnd/handleOnBuildEnd.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { rm } from 'node:fs/promises';
2-
import type { Config } from '@react-router/dev/dist/config';
2+
import type { Config } from '@react-router/dev/config';
33
import SentryCli from '@sentry/cli';
44
import { glob } from 'glob';
55
import type { SentryReactRouterBuildOptions } from '../types';

packages/react-router/tsconfig.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33

44
"include": ["src/**/*"],
55

6-
"compilerOptions": {}
6+
"compilerOptions": {
7+
"moduleResolution": "bundler"
8+
}
79
}

0 commit comments

Comments
 (0)