Skip to content

When vitest, vite config defineConfig should come from vitest/config #700

@jycouet

Description

@jycouet

When you select vitest,

// this import
import { defineConfig } from "vite";

// should switch to 
import { defineConfig } from "vitest/config";

If you don't do this & you have 0 import of vitest in your project, your vite.config will show an error.

cc @paoloricciuti

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions