Skip to content

Commit a0a4c37

Browse files
committed
don't alias
1 parent a7317a0 commit a0a4c37

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

packages/react-router/vite.config.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,13 @@ import type { UserConfig } from 'vitest/config'
77

88
const config = defineConfig({
99
plugins: [react()] as UserConfig['plugins'],
10-
resolve: {
11-
alias: {
12-
'@tanstack/router-core': path.resolve(
13-
__dirname,
14-
'./../node_modules/@tanstack/router-core/src/',
15-
),
16-
},
17-
},
1810
test: {
1911
name: packageJson.name,
2012
dir: './tests',
2113
watch: false,
2214
environment: 'jsdom',
2315
typecheck: { enabled: true },
2416
setupFiles: ['./tests/setupTests.tsx'],
25-
alias: [
26-
{
27-
find: '@tanstack/router-core',
28-
replacement: path.resolve(__dirname, '../router-core/src/index.ts'),
29-
},
30-
],
3117
},
3218
})
3319

0 commit comments

Comments
 (0)