Commit f5ae500
authored
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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
| 148 | + | |
151 | 149 | | |
152 | 150 | | |
153 | 151 | | |
| |||
0 commit comments