Commit 514e0ee
fix(vuepress): add @vite-ignore to LazyMermaid dynamic import
Rolldown (Vite 8) tries to statically analyze and bundle dynamic imports
at build time, failing with UNLOADABLE_DEPENDENCY because it cannot load
the plugin's client component via the package exports glob pattern.
Adding /* @vite-ignore */ skips build-time bundling and leaves the import
to resolve correctly at runtime, matching local dev behavior.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 561cdaa commit 514e0ee
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments