Skip to content

Commit

Permalink
got it
Browse files Browse the repository at this point in the history
  • Loading branch information
zmzlois committed Nov 4, 2024
1 parent c1c5835 commit f1fe6f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit f1fe6f9

Please sign in to comment.