Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import defineConfig from #120

Open
Soviut opened this issue May 5, 2024 · 0 comments
Open

Import defineConfig from #120

Soviut opened this issue May 5, 2024 · 0 comments

Comments

@Soviut
Copy link
Owner

Soviut commented May 5, 2024

To prevent the vite.config.mts from complaining about the test param, we need to change the following

import { defineConfig } from 'vite';

do this (importing Vite config extended by Vitest):

import { defineConfig } from 'vitest/config';

https://stackoverflow.com/questions/72146352/vitest-defineconfig-test-does-not-exist-in-type-userconfigexport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant