Skip to content

Commit e112c16

Browse files
authored
chore(runtime): remove shared strategy warn (#3648)
1 parent 42909a7 commit e112c16

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.changeset/tall-rivers-hope.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/runtime-core': patch
3+
---
4+
5+
chore(runtime): remove shared strategy warn

packages/runtime-core/src/utils/share.ts

-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ export function formatShare(
3434
throw new Error(`Can not get shared '${name}'!`);
3535
});
3636
}
37-
if (shareArgs.strategy) {
38-
warn(
39-
`"shared.strategy is deprecated, please set in initOptions.shareStrategy instead!"`,
40-
);
41-
}
4237
return {
4338
deps: [],
4439
useIn: [],

0 commit comments

Comments
 (0)