v1.0 with SW PWA enabled
This commit is contained in:
26
frontend/node_modules/@tanstack/react-query/build/query-codemods/vite.config.ts
generated
vendored
Normal file
26
frontend/node_modules/@tanstack/react-query/build/query-codemods/vite.config.ts
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
import packageJson from './package.json'
|
||||
|
||||
export default defineConfig({
|
||||
// fix from https://github.com/vitest-dev/vitest/issues/6992#issuecomment-2509408660
|
||||
resolve: {
|
||||
conditions: ['@tanstack/custom-condition'],
|
||||
},
|
||||
environments: {
|
||||
ssr: {
|
||||
resolve: {
|
||||
conditions: ['@tanstack/custom-condition'],
|
||||
},
|
||||
},
|
||||
},
|
||||
test: {
|
||||
name: packageJson.name,
|
||||
dir: './src',
|
||||
watch: false,
|
||||
globals: true,
|
||||
coverage: { enabled: true, provider: 'istanbul', include: ['src/**/*'] },
|
||||
typecheck: { enabled: true },
|
||||
restoreMocks: true,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user