Files
klz-cables.com/.pnpm-store/v10/files/e3/44f44fd4d225290e01eab6411b165dca7248473b07e91f08600ddb3f80b745a3ed95056161e3964ce84a1ad1ba7b040e0398f26a9675c88d56747211141a90
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

10 lines
529 B
Plaintext

/**
* Dynamically imports a module from a file path or module specifier.
*
* Uses a direct `import()` in Vitest (where eval'd imports fail with ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING),
* and `eval(`import(...)`)` elsewhere to hide the import from Next.js bundler static analysis.
*
* @param modulePathOrSpecifier - Either an absolute file path or a module specifier (package name)
*/
export declare function dynamicImport<T = unknown>(modulePathOrSpecifier: string): Promise<T>;
//# sourceMappingURL=dynamicImport.d.ts.map