Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: port the latest
defineConfig
type from vite
Ported from vitejs/vite#13792 Fully fixes issues like vuejs/create-vue#317 and vuejs/create-vue#313 For an easy reproduction, please refer to https://github.com/sodatea/viteste-define-config-bug-repro I didn't include a test in this PR because: 1. The reproduction is a bit complicated, it only fails on the very latest Vite versions, but updating Vite would mess up the lockfile. 2. By not updating the dependencies, we can make sure that this fix is compatible with older versions of Vite, too.
- Loading branch information