From f1fe6f96621e01c80a14ce782cb42ad2884dd7b9 Mon Sep 17 00:00:00 2001 From: zmzlois Date: Mon, 4 Nov 2024 02:16:50 +0000 Subject: [PATCH] got it --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index d9a657b..925f659 100644 --- a/src/index.ts +++ b/src/index.ts @@ -61,6 +61,8 @@ function federation(mfUserOptions: ModuleFederationOptions): Plugin[] { { name: 'module-federation-vite', enforce: 'post', + // @ts-expect-error used to expose plugin options + _options: options, config(config, { command: _command }: { command: string }) { // TODO: singleton (config.resolve as any).alias.push({