ionic-team / ionic-team/ionic-cli
cli 7.0.0, react, vite config has type error. The import of the type is from the wrong source because of vitest+jest-dom.
オープン
triage
- 主要言語
- TypeScript
- スター
- 2k
- フォーク
- 682
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Description:**
Ionic CLI 7.0.0 react project with vite has a type error in vite config. This is because the react project is set up with vitest and jest-dom.
**Steps to Reproduce:**
Start a blank react project. Open `vite.config.ts`
The problem is this line:
`
import { defineConfig } from 'vite'
`
**Solution:**
Output should be:
`
import { defineConfig } from 'vitest/config'
`
コントリビューションガイド
評価
この issue はまだ評価されていません。