- 执行 npm audit fix 自动修复 41 个漏洞中的大部分(babel、webpack、axios 等) - 在 package.json 中添加 overrides 强制升级无法自动修复的间接依赖: - postcss >= 8.4.31(修复 CVE in @vue/component-compiler-utils) - serialize-javascript >= 7.0.5(修复 XSS/RCE in copy-webpack-plugin) - webpack-dev-server >= 5.2.1(修复源码泄露漏洞) - 漏洞数从 41 降至 0 - vue.config.js 中为 mini-css-extract-plugin 添加 ignoreOrder: true, 消除 Element Plus 按需导入时不同路由 chunk CSS 顺序冲突的警告 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Description
博客管理后台web端
Languages
Vue
79.6%
TypeScript
13.2%
Less
7%
HTML
0.2%