Skip to content

Commit f5ae500

Browse files
build(deps): replace nested @popperjs/core CJS build with ESM fork globally (#15860)
The design-system package had a nested node_modules/@popperjs/core using the original CJS-only distribution (no exports field), causing all design-system unit tests to fail with a named-export error when element-plus's ESM files tried to import { placements } from it. The root node_modules already used @sxzz/popperjs-es (ESM fork) via a bootstrap-scoped override, but that override did not apply to element-plus inside the design-system. Promoting the override to a global entry fixes all 113 previously failing test files (573 tests now passing) and makes the bootstrap-specific override redundant.
1 parent 93ac80f commit f5ae500

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

ui/package-lock.json

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@
145145
},
146146
"overrides": {
147147
"axios": "1.13.6",
148-
"bootstrap": {
149-
"@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7"
150-
},
148+
"@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7",
151149
"@codecov/vite-plugin": {
152150
"vite": "$vite"
153151
}

0 commit comments

Comments
 (0)