/** * Runtime Injection Plugin * * 在编译时自动将 @lark-apaas/client-toolkit/runtime 注入到所有入口之前 * 支持 extends 配置方式 * * 原理:在 entryOption hook 中原地修改 entry 配置,将 runtime 注入到每个入口的最前面 */ import type { Compiler } from '@rspack/core'; export declare class RuntimeInjectionPlugin { apply(compiler: Compiler): void; } export default RuntimeInjectionPlugin;