Skip to content

Commit

Permalink
don't alias
Browse files Browse the repository at this point in the history
  • Loading branch information
birkskyum committed Jan 22, 2025
1 parent 042bb1c commit 54bb266
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/react-router/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,13 @@ import type { UserConfig } from 'vitest/config'

const config = defineConfig({
plugins: [react()] as UserConfig['plugins'],
resolve: {
alias: {
'@tanstack/router-core': path.resolve(
__dirname,
'./../node_modules/@tanstack/router-core/src/',
),
},
},
test: {
name: packageJson.name,
dir: './tests',
watch: false,
environment: 'jsdom',
typecheck: { enabled: true },
setupFiles: ['./tests/setupTests.tsx'],
alias: [
{
find: '@tanstack/router-core',
replacement: path.resolve(__dirname, '../router-core/src/index.ts'),
},
],
},
})

Expand Down

0 comments on commit 54bb266

Please sign in to comment.