Skip to content

Commit 6aa4eb3

Browse files
committed
fix: backslashes not converted to slashes in sub dependency paths
1 parent 4d85ac3 commit 6aa4eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/native-federation-core/src/lib/config/with-native-federation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function normalizeShared(
4646
result = Object.keys(shared).reduce(
4747
(acc, cur) => ({
4848
...acc,
49-
[cur]: {
49+
[cur.replace(/\\/g, '/')]: {
5050
requiredVersion: shared[cur].requiredVersion ?? 'auto',
5151
singleton: shared[cur].singleton ?? false,
5252
strictVersion: shared[cur].strictVersion ?? false,

0 commit comments

Comments
 (0)