refactor(build): 移除 setup-extend 插件并更新依赖项

- 移除 createSetupExtend 插件及其相关配置
- 更新 Vue 版本从 3.5.13 到 3.5.25
- 更新 Element Plus 版本从 2.12.0 到 2.14.1
- 添加 @vue/shared 依赖
- 移除 @vue/compiler-sfc 开发依赖
- 移除 unplugin-vue-setup-extend-plus 依赖
- 更新 @babel 相关依赖版本
- 移除 @esbuild 相关可选依赖
- 更新 chokidar 版本从 3.6.0 到 5.0.0
- 移除部分已废弃的依赖项
This commit is contained in:
2026-06-02 13:38:23 +08:00
parent 2962698cdd
commit 6a34303825
8 changed files with 18 additions and 11 deletions

View File

@@ -53,6 +53,12 @@ export default defineConfig(({ mode, command }) => {
},
//fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
silenceDeprecations: ['import', 'global-builtin', 'color-functions', 'legacy-js-api'],
},
},
postcss: {
plugins: [
{