From 27d271bcba54710d7b1d6a5eb2185d37b3ecdac6 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Wed, 18 Oct 2023 00:20:50 -0300 Subject: [PATCH] fix: outdir should be relative to workspaceRoot --- .../src/lib/core/bundle-exposed-and-mappings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,