SIGN IN SIGN UP
Snailclimb / JavaGuide UNCLAIMED

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

0 0 20 JavaScript

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>
G
Guide committed
514e0eee01dbd4352a18dd14005c977c89f75f40
Parent: 561cdaa