TanStackT
TanStack2mo ago
4 replies
then-purple

Does the start vite plugin affect module loading?

I have a bunch of tests that only pass if I disable the entire tanstackStart vite plugin like the code snippet below. I don't really understand why. Before I put the effort into making a repro repository, does anyone know off the top of their head why this could happen?


export default defineConfig({
  plugins: [
    process.env.VITEST !== 'true' && tanstackStart()
    ...
  ],
  ...
});
Was this page helpful?