UNPKG

histoire

Version:

A fast story book powered by Vite

6 lines (5 loc) • 279 B
/** Audited optional browser engines must stay on explicit UI/runtime import paths. */ export function isLazyBrowserDependency(id) { const normalized = id.replaceAll('\\', '/'); return /\/node_modules\/(?:dompurify|shiki|@shikijs|msw|@mswjs)(?:\/|$)/.test(normalized); }