Skip to content

Commit c502d78

Browse files
author
Alejandro
committed
chore: tabs
1 parent b0af85a commit c502d78

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

libs/native-federation-core/src/lib/core/bundle-exposed-and-mappings.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ export async function bundleExposedAndMappings(
4343
let result;
4444
try {
4545
result = await bundle({
46-
entryPoints,
47-
outdir: fedOptions.outputPath,
48-
tsConfigPath: fedOptions.tsConfig,
49-
external: externals,
50-
dev: !!fedOptions.dev,
51-
watch: fedOptions.watch,
52-
mappedPaths: config.sharedMappings,
53-
kind: 'mapping-or-exposed',
54-
hash,
46+
entryPoints,
47+
outdir: fedOptions.outputPath,
48+
tsConfigPath: fedOptions.tsConfig,
49+
external: externals,
50+
dev: !!fedOptions.dev,
51+
watch: fedOptions.watch,
52+
mappedPaths: config.sharedMappings,
53+
kind: 'mapping-or-exposed',
54+
hash,
5555
optimizedMappings: config.features.ignoreUnusedDeps,
5656
});
5757
} catch (error) {
@@ -76,8 +76,8 @@ export async function bundleExposedAndMappings(
7676
dev: !fedOptions.dev
7777
? undefined
7878
: {
79-
entryPoint: normalize(path.normalize(item.fileName)),
80-
},
79+
entryPoint: normalize(path.normalize(item.fileName)),
80+
},
8181
});
8282
}
8383

@@ -90,10 +90,10 @@ export async function bundleExposedAndMappings(
9090
dev: !fedOptions.dev
9191
? undefined
9292
: {
93-
entryPoint: normalize(
94-
path.join(fedOptions.workspaceRoot, item.fileName)
95-
),
96-
},
93+
entryPoint: normalize(
94+
path.join(fedOptions.workspaceRoot, item.fileName)
95+
),
96+
},
9797
});
9898
}
9999

@@ -117,8 +117,8 @@ export function describeExposed(
117117
dev: !options.dev
118118
? undefined
119119
: {
120-
entryPoint: localPath,
121-
},
120+
entryPoint: localPath,
121+
},
122122
});
123123
}
124124

@@ -142,8 +142,8 @@ export function describeSharedMappings(
142142
dev: !fedOptions.dev
143143
? undefined
144144
: {
145-
entryPoint: normalize(path.normalize(m.path)),
146-
},
145+
entryPoint: normalize(path.normalize(m.path)),
146+
},
147147
});
148148
}
149149

0 commit comments

Comments
 (0)