Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MadaraUchiha-314 committed Jun 27, 2024
1 parent 10688f5 commit 8d48591
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/rollup-plugin-module-federation/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,11 @@ export function getInitConfig(
entry: remoteConfig.external as string,
shareScope: remoteConfig.shareScope,
type:
remoteType === 'module' || remoteType === 'import' ? 'esm' : (remoteType === 'system' ? 'system' : 'global'),
remoteType === 'module' || remoteType === 'import'
? 'esm'
: remoteType === 'system'
? 'system'
: 'global',
};
}),
};
Expand Down

0 comments on commit 8d48591

Please sign in to comment.