We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2082e8e commit 2c9c0bdCopy full SHA for 2c9c0bd
1 file changed
vitest.config.ts
@@ -4,11 +4,10 @@ import preact from "@preact/preset-vite";
4
5
export default getViteConfig({
6
// needed to ensure react 3rd party libraries work with preact
7
- plugins: [preact() as any],
+ plugins: [preact()],
8
resolve: {
9
mainFields: ["module"],
10
},
11
- // @ts-expect-error - test config is valid for vitest but not recognized by astro's getViteConfig types
12
test: {
13
projects: [
14
{
0 commit comments