Hello, when I excute vite build --config v2-7/vite.config.ts in root. There is no vue(2.7),but the v2-7 has. And I ran into this error:
[vite:vue2] Failed to resolve vue/compiler-sfc.
@vitejs/plugin-vue2 requires vue (>=2.7.0) to be present in the dependency tree.
error during build:
Error: Failed to resolve vue/compiler-sfc.
@vitejs/plugin-vue2 requires vue (>=2.7.0) to be present in the dependency tree.
── root └── v2-7 └── node_modules └── vite.config.ts └── ... └── src └── index.ts
Hello, when I excute
vite build --config v2-7/vite.config.ts
in root. There is no vue(2.7),but the v2-7 has. And I ran into this error:I don't know why remove this part of the code.I think this may be a mistake. It should be the same as @vitejs/plugin-vue