mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-09-20 11:52:05 +08:00
webpack 5.108.0 回归(webpack/webpack#21278):生产构建在 mangleExports 下遇到 namespace import 整体逃逸(app.config.globalProperties.$filters = filters)时,会把混淆后的导出名当属性路径渲染(u6 -> .u[6]),导致 $filters.unitPrice 等全部报 Cannot read properties of undefined (reading '6');dev server 不启用 mangleExports,本地无法复现。 - manager:webpack 固定 5.108.4(devDependencies + resolutions),pnpm-lock 同步更新 - buyer:纳入 pnpm-lock.yaml(webpack 5.111.0) Refs: https://github.com/webpack/webpack/issues/21278
The file is empty.