diff --git a/libs/native-federation-core/src/lib/core/bundle-exposed-and-mappings.ts b/libs/native-federation-core/src/lib/core/bundle-exposed-and-mappings.ts index e0dd20f1..1079f211 100644 --- a/libs/native-federation-core/src/lib/core/bundle-exposed-and-mappings.ts +++ b/libs/native-federation-core/src/lib/core/bundle-exposed-and-mappings.ts @@ -40,7 +40,7 @@ export async function bundleExposedAndMappings( const result = await bundle({ entryPoints, - outdir: fedOptions.outputPath, + outdir: path.join(fedOptions.workspaceRoot, fedOptions.outputPath), tsConfigPath: fedOptions.tsConfig, external: externals, dev: !!fedOptions.dev,